skysight-inc/HackerNews huggingface dataset:
The idea is to steal only if request fails to return work in a reasonable time frame i.e. if a job is keeping the scheduler busy for more than a minimum amount of time.

I also have no number to back it up (we deal wit a relatively small numbers of fds at $JOB and we care of latency more than throughput), but I do not buy epoll_wait generating late batches of work: it seems to me that you should only be using epoll for fds that are unlikely to be ready for io (i.e those for which a speculative read or write has returned EWOULDBLOCK), which means you should not have large batches of ready fds. Even if you do, the only case you would need to steal after that is if another processor run out of work after this processor returned from epoll wait (if it did before, it should have blocked on the same epoll FD and got a chunk of the work directly or could have signaled a request for work), which might be less likely.

Anyway at the end of the day a singe mostly uncontested CAS is relatively cheap on x86 especially if the average job length is large enough, so maybe it is just not worth optimizing it further, especially if it requires more complexity.
This setup is also what Google Cloud is using for their App Engine.
As names, car and cdr are great: short, and just the right visual distance apart. The only argument against them is that they're not mnemonic. But (a) more mnemonic names tend to be over-specific (not all cdrs are tails), and (b) after a week of using Lisp, car and cdr mean the two halves of a cons cell, and languages should be designed for people who've used them for more than a week.
Here's one: https://www.nytimes.com/2018/11/25/us/politics/china-exit-ba...
Thanks! The idea for using codecs is not mine - found it on StackOverflow somewhere. Googling for "how to add custom language statements python" should give you some results, this included :)

Also, in my case I had to use Codecs because a new operator causes AST-parser to not go through. But if you have some kind of syntax that will be compatible with Python AST, then you can implement it even easier.

You can google Python AST to get a lot of useful information :)
There's a quote I have and that is that smart people have a harder time being happy, because they worry too much.

I've never put it to test with others though.

The reasoning is that you see some sort of pattern always and you believe it's the end of the world.

Eg. China, climate change, ...

So you believe you need to earn as much as possible, so your odds for survival are better ( as an example).

Narcissists don't have this problem, as they are focused on themselves.
I cannot say enough good things about chwm (or yabai[0], as he now calls it), by far the best window management tool I've used on macOS. Unlike most other tools, it is instantaneous and requires no mental effort. In conjunction with skhd[1], it gives a super clean interface for you to completely control your desktop. It's only too bad that you have to disable SIP for all the APIs to get exposed.

[0]: https://github.com/koekeishiya/yabai

[1]: https://github.com/koekeishiya/skhd
Completely tangental, but nevertheless. Your quote of Percy brought back a memory.

Almost thirty years ago I was in Avignon. It was scorchingly hot, with temperatures reaching into the 40 degrees Celsius range. My girlfriend and I sought refuge against the heat in the neighbouring village of Villeneuve-Les-Avignon. There was going to be a festival of old music there in the remains of an old fortress that evening. We could hear someone practicing a piece on the cello.

No-one cared to guard the entrace in this impossible heat. We trespassed into the ruins and located an old tower where the music was coming from. There was actually no door and we snuck up the staircase until we were right next to a room where someone was playing a beautiful piece, flawlessly. We sat there on the stairs for fifteen minutes, transfixed by the music. We knew enough about music to know that it was late baroque, definitely not Bach, possibly French, but we never dared to expose ourselves and ask. It was a transcendental experience.
That phrasing (at least without the "to you") is fine when you are genuinely open to saying more. It's not fine as a way to refuse to say more. So you're talking about a completely different context.

If they get aggressive and you then decide that you don't want to explain, that's fine. But that's not what happened here.
Well do you really need to mock everything? And if so, how is that different than any other stack?

Most of the time this is just "enterprise patterns" without any thought about whether it's worth it. I've seen too many small LOB apps that have 5 tiers of code for no reason.
No worries, I appreciate your enthusiasm! I think all your feedback is addressed within this ticket: https://github.com/lwouis/alt-tab-macos/issues/8

Subscribe to it to follow its implementation ;)
Many libs already support it. But the end-users, the web applications, are the problem. If you haven't properly separated business logic from UI, which might very well be the case if your project budgets aren't too high or other causes, you will have a rewrite on your hands instead of a port. A rewrite which is, especially on low budgets, not worth it.
Ah yes, sorry:

https://github.com/eveem-org/panoramix/blob/bc55be84a9a6abb1...

It uses "~" custom operator, but implementing it would not be possible without ":=" operator (see /tilde directory).
Celery in production: how to be ready and quickly resolve issues
Note that there's no risk with falling in a deeper state of sleep. This sleep is still good. The problem is only that waking up from a deeper sleep is harder and you will temporarily feel less awake than before the nap.
We run Kestrel directly facing the internet serving http2 traffic across billions of requests per day with no issue. No need for Nginx.
Agility Robotics Unveils Upgraded Digit Walking Robot
> Then with static using directives, you don't need to spell out the namespaces.

Static using directives! Certainly a useful tool, thank you. I had been away from the .Net universe for a while and I think I have some more catching up to do. Some of the newer changes in C# help a lot with reducing code heft, even though it makes the language more complex.

However, the Framework seems to be headed in the opposite direction when it comes to simplicity. Here's for example the IOptions pattern: https://docs.microsoft.com/en-us/aspnet/core/fundamentals/co...
Agreed. You could also use Curl bindings for .NET as an alternative.
This article covers the culture problem exhaustively https://www.perell.com/blog/boeing-737-max
JetBrains stuff does feel sluggish and occasionally hangs on my 2016 XPS-13 with 8G of ram. It gets the job done, but it's not pleasant.

On my new Ryzen 3600 with 32G of ram it runs smooth. So if you go for JetBrains, I definitely advise not to cheap out on the hardware.

Rider on Linux was very good for me, working on C# azure functions.
> Similarly ... How much exercise and what kinds?

An anecdote. I have a friend who used to walk everywhere in the city. They were always overweight but healthy. Flash forward to several years later. They are in the thick of a PhD program. The last couple years they have gained considerable weight. Lots of inactivity (sitting in a room all day) coupled with lack of sleep and not the best eating habits. And I recently learned that they have trouble walking, say, a parking lot distance. And their knees will start to hurt on a scale of 6 on a 10 scale if they do too much walking.

Too little exercise if accompanied by other less healthy life actions (sleep deprivation, less healthy diet) can rob you of one thing you might take for granted: mobility or the ability to walk across a long parking lot without strain.

There is no one size fits all recipe for how much physical activity. Your health is ultimately your responsibility.
> Then I got out of that job and again mostly forgot about it and curretly don't really care what happens to it.

Yet you made an account here today for this story to tell people how you don't care and why python is better than PHP.

Are you sure you don't care?
Whenever anyone says that local traditions should be respected, they tend to gloss over the fact that most traditions are like this.
Meetup.com Introduces RSVP Fees
are there vetted IQ tests ? anybody can come up with questions and print a figure at the end but how can we know it's worth anything ?
The law favors the idea that the dead are beyond harm.
It absolutely says the opposite of that.

> Q15: Is it expected that people go to "About me" to check whether someone has pronouns there when interacting in Q&A?

No. That would be good practice, but it is not required.
Dumb and Isolated (1994)
Sorry, I did. I made a quick return to PHP in 2016, being so happy to try Laravel on a real big project.
So ... just pure disappointment ;( ;(

It is 4 time more verbose than rails and not fully compliant.
Laravel is purefect for people knowing only PHP, it is a real nightmare for rubyist. ;(
The price of php4 days man
Any lunch that isn’t mostly cheese and sausage by weight is just a recipe for disaster
And low IQ is consistent with right-wing barbarians.
> Allow functions outside of classes

Why? You can put them in a static class, and if C# ever had this feature, it would just be syntactic sugar for a hidden static class.

But that would mean optimising for "hello world" and other small script scenarios, which isn't a goal of the language design.

> Adopt (files and dirs) instead of forcing namespace declarations

Likewise.

> Structural typing

Like "dynamic" in C# 4 ? Been there, done that and it didn't take off really. It's useful for some interop cases and that's about it. Strong types, with type inference is more suited to the language design.

https://stackoverflow.com/questions/2690623/what-is-the-dyna...

https://docs.microsoft.com/en-us/dotnet/csharp/programming-g...
Londoner finds a clever way to return a wallet to its owner
Location: India

Remote: Yes

Willing to relocate: Not Now

Technologies: 10+ years in Java/J2EE technologies. Spring Boot, MySQL, Tomcat, AWS, Clojure, Scala, Python, Saas.

Résumé/CV: https://drive.google.com/file/d/1ZN5tO3Z-uZ_gSikM3sJhS_miwwj...
If you have one product (like startups) it is easy to port. You have, in relative terms, nearly unlimited budget and incentive to stay on the latest and greatest.

If you work in a place where you develop many products for many clients, budgets are lower and you have much to maintain and develop. Porting is in my experience almost never done, because there is no business case to justify it.
Why would you divide by two? Tx/Rx are separate.
A disease could even wipe out a population from a wide variety of ancestors. The thing that matters if any of the ancestors has encountered a type of this disease before and has found a way to be resilient for it (and pass it on into its genes).
Yes, this is what we use. So far it seems alright, and we did some load testing last week.
I wonder how much of it is just society bot being accommodating for high IQ kids. Like school can be a hellish experience of boredom and being an outsider, that could set the mood for later life.
Stress and its causes: fight both
Not to mention that the 'old' control panel has a lot more options!
Comparing the cheese to what you get in the States, it might look extra creamy.
Being a Swedish born living in Norway, I'd say most of the cheese is boring and tasteless! The typical cheap cheese in Sweden (Hushållsost) is much more creamy and tastes a lot more than the cheapest alternatives in Norway (Norvegia). You have to go up about 40-50% in price to get the most equivalent (something like Novergia Fyldig). The milk though, tastes much better in Norway.
Morgan Stanley told WeWork its valuation could hit $104 billion, Goldman Sachs estimated the high end at $96 billion, while JPMorgan said it might reach a more modest $63 billion, according to the Financial Times.

How are these three companies still not fined by sec for fraud ?
As a very adult Italian, I prefer to eat a sandwich (usually 'panino con affettati') and go home early, than waste 2 hours eating with other people, in expensive places, not so great food that barely resemble real Italian food.

And I live in Italy.
Apple should rely on its own server to check for safe browsing lists with Tencent, Google and other providers. An Apple API that encapsulates these external APIs.
I could find stuff in the old panel without knowing where it is. I can't in the new one. Either because the options are missing entirely or because they're too well hidden.

My biggest gripe is not being able to directly open the old settings... Always having to open "control panel" and then clicking on the correct category gets old fast, but is nonetheless more effective than fruitlessly searching in the new panels until I give up.
Even for those with a normal IQ range and properly more so for those with better ability to recognize patterns - the world is a scary place sometimes.

Being able to predict mind games, deception, passive aggressiveness without those at fault will admit to it can make you question your own sanity easily - now what if you had sharpened senses that picked up on these things.

How I see it, the bottom line is this. If you are surrounded by a good and suppprting tribe it can be a gift, but at the other end it can seem like a mean curse.
What's the problem asking experienced developer to learn F#? That is course assuming they do not refuse the work?
Same stuff I've been working on for the past 2 months: boring investgation work on bugs that are more about reasoning how the business works than anything technical. I've written maybe 20 lines of code past these two months.
Exactly. Composer is key here. Pear just didn't work well as a third party bolt on. As a result monolithic frameworks such as Zend Framework were born, along with Blogs, come CMS come frameworks. And Rails clones. It's still hard to navigate the 3rd party landscape, but integration is so much easier.

My main gripe with Php is editor support. Jumping around a code base is hard when you introduce slightly abstract class loading. The more 'typed' the language is, I guess makes editor help easier, with auto completion etc. But that is a disjoint or me.

Editor support for functions is useful. I'm slightly embarassed still at the frequency of my manual lookups.

Class autoloading is nice, but functions are left by the wayside on the autoloading front, which is a bit gnarly.

The language is actually quite quick to learn, and you can hold a lot in your head. You can do a lot just with arrays and foreachs, without having to reach into convenience functions.

Most of my time is laboured over other frameworks and interoperability, rather than any really worry about Php itself.
I'm not sure I'll start a new project using PHP these days (though the latest Symfony is very good), however I still frequently uses it as a scripting language, as an alternative to Bash. It's perfect for this, easy to use, and can scale to large scripts if needed.
> A lot of my teachers... and one of my parents... made this mistake with me. "You're so smart, why are you unable to do X ??"

Maybe I was fortunate that my parents are also smart. My dad once shared that he completely understood that we (his kids) struggled so much with finishing university and finishing the stuff we worked on. He had many of the same problems (though he did finish his PhD). He never managed to teach me that discipline to follow through and get stuff done, though. But at least I wasn't judged and made to feel dumb for it.

My oldest son again has the same traits of high intelligence and extreme laziness. I'm trying to teach him better ways to handle this. I try to emphasize the importance of doing the work, doing homework, finishing projects, focus, and sometimes just doing what is necessary whether you like it or not. I try to de-emphasize intelligence without making him feel dumb. He knows he's smart, and he knows it a little too well in my opinion, but I try to praise him for the things he does, rather than for how smart he is. I try to challenge his intelligence, but also try to steer him towards things that aren't about IQ, like art or sports. (He's not interested though; he mostly just wants to play Minecraft and build beautiful houses and complex machinery there. Close enough, I guess.)
I've spent years on windows, mac, linux. I remember in my youth adding a dock with the fisheye effect on hover on Windows XP. What a blast that was :p

Nowadays i'm into workflow optimization and this alt-tab window-switching is what i found best in my personal study
32G?!? Where does one find such employers???

Not to mention how crazy it sounds having 32GB for an IDE.

Visual Studio, Netbeans and Eclipse run perfectly fine with 8 GB.
As a Norwegian that worked abroad, then back in Norway for 6 years before going abroad again, one thing I do not miss from Norway is the work lunches.

God that was depressing, and stressful. The mad rush to the compulsory office canteen, buy some basic food, throw the food in, and run back to your desk as you only have a 30 minutes lunch break.

No chance of going outside for a short walk to get some oxygen, little choice in what food to get, no chance of bonding with colleagues and not talk about work, no chance of disconnecting and avoiding stress.

Only occasionally did I manage to convince colleagues to rebel, go outside with me to a sushi place (or McD's...), sit in the park for bit, and take a few breaths and not rush back. It should be a daily occurrance but only happened once or twice a month.
Whale meat is quite inexpensive actually
> BTW, the 2 + 0.3 thing you are mentioning are all fixed by ES15 and ES6.

Meaning that they broke a lot of code when they did that.

Not that it matters that much, since it often impossible to build a JS codebase that is over a year old without major refactoring.
OnePlus Needs to Save Itself from Dying
Also BIG NEWS correlation does not imply causation
> The right to secede is important because it's democratic by nature

It really isn't, as it purposely excludes portions of the electorate that don't support the idea.
Treat IQ as a blackbox. It doesn't matter what people think it measures or what it actually measures. Those things are psychological not psychometric.

So let's consider it psychometrically:

1. Does it measure something? Yes it does. This something is consistent across time as people's IQs do not vary dramatically. It is "stable". So whatever it measures is not spurious.

2. Ok so we measure an actual thing. Is the thing it measures distinct? Yes it is. It's been controlled for against every conceivable variable like education, socioeconomic background, and family health. Whatever it is measuring, it is definitely an independent thing, not a representation of something else.

3. Is the real independent thing we're measuring even important? Maybe it's just like fingerprints, real but essentially random and inconsequential. It turns out it correlates with all kinds of things. It acts as a predictor in all kinds of outcomes. It is the strongest predictor available in psychometry. If you could only administer one test to a subject, testing this thing is the most revealing test.

So, regardless of what IQ is, we know what it isn't. We know it isn't fake, unimportant, random, or a combination of other factors.

This is deeply unpopular and goes against many people's core beliefs about society and education, but the science is well-founded.

It can be refuted but it has to be refuted with science, not quotes, metaphors, and anecdotes.
Not OP, but maybe it's "as":

if re.match(pattern, string) as m:
#use m

Seems a bit more Pythonic, as "as" is already used like this with "with".

Either one would be fine with me and useful.
Could this also be correlated to a very long dark winter? I’d find a little sad to eat bread every day and not something warm and hearty but if I could get out of work maybe an hour earlier and that meant it wouldn’t already be dark outside...
Learn the Ranch Out of Time Update with $18 Off Rsorder RS Gold for Sale
Starting this week, RS players can start preparing for The Ranch Out of Time by collecting some reptile eggs ahead of time. New animals can be gathered now with The Ranch Out of Time pre-release update.

A rare opportunity not to be missed! Chance to enjoy up to $18 coupons for cheap runescape gold, cheap OSRS gold and more from RSorder Last Party for Autumn from Oct.14 to Oct.20, 2019.

The Ranch Out of Time pre-release update

The Ranch Out of Time pre-release update has been released on October 14th. With the pre-release update, you are able to collect a few reptile eggs ahead of The Ranch Out of Time RuneScape.
You can collect these eggs by hunting down and dispatching their parents, which is the same way you collect regular baby animals for RuneScape Player Owned Farm. There is a chance to find them when taking part in Big Game Hunter, Slayer and Jadinko Hunting on The Land Out of Time. Notice that these eggs cannot be checked and traded until the release of The Ranch Out of Time RuneScape in November.

New animals with The Ranch Out of Time

The following animals can be gathered with the Ranch Out of Time RuneScape pre-release update:
Common jadinko (unchecked)
Igneous jadinko (unchecked)
Cannibal jadinko (unchecked)
Aquatic jadinko (unchecked)
Amphibious jadinko (unchecked)
Carrion jadinko (unchecked)
Draconic jadinko (unchecked)
Shadow jadinko (unchecked)
Diseased jadinko (unchecked)
Camouflaged jadinko (unchecked)
Feral dinosaur (unchecked)
Venomous dinosaur (unchecked)
Ripper dinosaur (unchecked)
Brutish dinosaur (unchecked)
Arcane apoterrasaur (unchecked)
Scimitops (unchecked)
Bagrada rex (unchecked)
Spicati apoterrasaur (unchecked)
Asciatops (unchecked)
Corbicula rex (unchecked)
Oculi apoterrasaur (unchecked)
Malletops (unchecked)
Pavosaurus rex (unchecked)

Anyway, you can use 5% off code "RSYK5" for Cheap Runescape Gold / Osrs gold and all other products from https://www.rsorder.com/rs-gold anytime.
This is me, up to certain a point. I workout regularly, get slowly better at my job, participate in social activities. Just focus on enjoying life and I do. Still, it's all utterly meaningless. Funny thing is, I'm quit sure that the lack of meaning is holding me back. Holding me back in the sense that my satisfaction with life and success within it could be better with the feeling of meaning in life.

There are people who proclaim that death gives everything meaning. Nonsense, death neither gives nor takes meaning, it's as meaningless as eternal life. I'm an atheist to every religion I've ever encountered and couldn't imagine the existence of a god providing meaning, either. (I actually perceive that idea, meaning by higher power, to be even more absurd).

I have the believe though, that the question for meaning is a side effect of having a modern life. Did ancient tribes people think about meaning or did they simply hunt, socialize and view the world as connected in everything (the natural view of the world, as children have it) and never ever even thing about the concept of meaning of life? There are still somewhat "natural" living tribes out there, did someone ask them that question? I'm really curious about their reaction and answer.

Really, to me it seems, that the answer to the question about the meaning of life is to never ask it in the first place.
> Where are you running into this issue in a real app?

I had discovered few bugs in cookies handling myself, compared behavior to competitors and moved on. If cookies handling is not enough, i came across inconsistent behavior on different platforms: on Windows it uses WinHttpHandler, on Linux its curl lib(if i remember correctly). And they both handle edge cases differently.
I'm pretty sure it is written for Americans, they eat for lunch what I would call dinner a lot it seems?
Hackers Are Tracing Encrypted Traffic Throughout the Web by Patching Browsers
Nah, that key problem will eventually be sorted out with a couple of generational changes.
How does that help companies trying to track what I search for on webshops?