skysight-inc/HackerNews huggingface dataset:
Ten years ago everyone had a Windows PC, even if they only did light word processing and web browsing. That’s just not true anymore. Windows remains the only viable platform for PC gaming, but the difference is that it used to be the only viable platform for any number of tasks, and few of them remains. There are of course millions upon millions of pc gamers, but relatively speaking that’s still a niche market. It remains to be seen if Microsoft will care about maintaining Windows as a gaming platform when that’s all there is, considering that they do have the Xbox.
Indeed I have use this idiom a lot. The alternative is to store a state variable indicating success which isn't very nice.
Interesting enough :P
I know nneonneo is a Wikipedia editor. Perhaps he, or any other Wikipedia editor who reads this, would like to look into the way Philip Cross adds an unfavourable opinion by James Bloodworth, a follower of Cross on Twitter, and quoted in the dubious source HuffPost, to Diana Johnstone's Wikipedia page, and attempts to disguise the addition by calling it a (ce) = (copy edit). Perhaps nneonneo or other editor would like to add this evidence to the ArbCom submission, and request Philip Cross to explain the matter? Best wishes. Leftworks. https://en.wikipedia.org/w/index.php?title=Diana_Johnstone&d...
Do any of these options support proper handling of cycles in the object graph out of the box?
Which "these" differences exactly?
> Anyway, because of that, Z80 assembly was my second programming language TI Basic being the first.

I didn't have the cable you needed to transfer binaries from a desktop computer to the calculator, and I never finished the cable I tried to build myself from scrap parts. Hence, I never got past the TI Basic, which you could program on the calculator itself. :-)

Here's a TI Basic rendering of a sphere (the Moon seen from Earth, say): https://i.imgur.com/xWb1xk2.jpg
The employee knows about probationary periods and adjusts his behavior to them.
> but languages are generally pretty resistant to borrowing grammatic features wholesale versus, say, borrowing vocabulary.

Not always check Spanish for example they took a lot from Arabic, like 'EL'.
Your suggestion contains bugs, though. To make it fully equivalent to the code in the blog post, it would need to be:

sentinel = object()
item = next((item for item in container if search_something(item)), sentinel)
if item is not sentinel:
process(item)
else:
not_found_in_container()

... because item could be None or another falsy value.
At these salary levels? What do you expect?

Higher salaries do exists, so people will move away as soon as something better shows up.

What companies paying 20K€ end up doing is provide "free" training and experience, to the benefit of the companies that ultimately will end up signing the employees, paying what they are actually worth.
There was an article with a slideshow embedded about how to make good presentations. It consisted of choosing fonts and stuffs. It was really interesting. I thought I had bookmarked it but I lost it somehow.
'If you don't move forward - you begin to move backward' - my mother was telling me this often and I completely agree with this.

Embrace the change, learn new skills, get new experiences. Do not settle.
I prefer to extract it to separate function and simply `return` instead of `break`.
“If you feel you are in control, you are not going fast enough.” -Steve McQueen
lmgtfy: http://psychedelics.com/thc/is-marijuana-a-psychedelic/
He said a baseline of culture. Not global monoculture standard
The PDP 8 and 11 and cool front panels.

I recall on our PDP 11/40 if the separate module that handled the boot failed, you had to toggle the boot loader in by hand using OCD (octal coded decimal) which was a pain.
>but if I want to turn off location services, I have to enter a security code. Turns right on, though, no passcode required.

That is somewhat reasonable, though. It's a security feature, designed that way so that a thief can't keep you from locating your phone remotely.

Whether it's an effective feature is a different matter.
I wrote a solver of quadratic equations that occasionally adjusted the answer to be wrong by a few percent. The plan was to disseminate it to the class. I don't remember to what extent I managed or dared. I have now put my black hat days behind me.
From your answer I guess you have a static web server on port 80 and another one on port 8443. The URL of the JSON starts with /public so I guess it's completely static.

If you can setup the second web server then you're probably in control of the server. How about reverse proxying an /api URL to localhost:8443?

If you can only run another web server on 8443 and can't modify the configuration of the main one on port 80... You simply serve the static JSON file from port 80. This is too easy so you probably can't do that. Do you have an application serving those files on 8443? Maybe run it once to create a file and store it where the web server at port 80 can serve it. Some small script with curl should be enough.
I'm not sure about ARMv5, but v7 and v8-A are Tier 1 for Firefox, so we get a pretty decent smoke test out of them. The thing about embedded is that it's quite diverse, so speaking about it in broad terms is tough. It goes from "lol nope" to "barely works" to "pretty decent" to "great", depending on which thing you're talking about.

We have a whole working group this year working on embedded.
350ml sounds like the volume of a mug. In fact,

> Usually a mug holds approximately 8-12 US fluid ounces (350 ml) of liquid; double a tea cup.

https://en.wikipedia.org/wiki/Mug
There's a wonderful miniseries called "From the Earth to the Moon" which is sort of a dramatic retelling of the Apollo program. Think the "Apollo 13" movie, but longer and more diverse.

My favourite episode, "That's All There Is" (#7) is told from Alan Bean's perspective.

It portrays him, and the entire crew, as an amazingly capable, funny, and tight-knit group. The entire episode has a humorous tone which, after my impression from watching several interviews with Al bean, probably fits his personality.

If you're an aerospace nerd like me, you'll love it. I probably watch the whole series several times a year.
Your comment sounds so Orwellian I can’t help but cringe.
The fact that big companies are using CIR as a mean to get money from the government does not imply that it does not work for real research companies.
Same with "nuncle" -> "uncle".

https://en.oxforddictionaries.com/definition/nuncle
Let's just abbreviate "Someone" to "The Russian Government".
They are mostly targeting Ukraine, but who know what else they are up to. Almost as troubling as the US government actions.
Yes, there' the same in France. It's the most efficient way to get started really, otherwise you'd waste too much time learning the process. And as you say, once you've done it a few times it can be done internally.
I'd like to see this done with good lsd instead of marijuana.
It'd be great if we native English-speakers would tolerate — and even encourage — "mistakes" in English to streamline (refactor?) the language and make it easier for non-native speakers to become fluent:

+ The world would be better off with an easy-to-use, global lingua franca.

+ For historical reasons, both good and bad, at the moment English is the logical candidate. (The use of an alphabet also supports English as a global lingua franca, but "misspellings" should be tolerated as well as discussed at length in the comments here.)

+ We should accept usages such as "childs," vice children, and "it's" as a possessive, as being proper English and not mistakes. (English as a Second Language teachers could doubtless come up with a long list of such "mistakes.")

Such an approach to achieving a common global tongue would be more likely to succeed than was seen with Esperanto.
Do you realize "zero-cost" abstractions are not specific to Rust?
While this is technically true, the difference is very minor at the typical pressure ranges being used.

The highest performing PC fans create about 10mmH2O pressure while typically you can expect about 1mmH2O pressure compared to 10mH2O of the atmosphere. This translates to densening of the atmosphere around components by 0.1% or 0.01%, respectively.

Correct placement and design is by orders of magnitude more important than the increased efficiency due to higher density of air.

You could see much more effect by making your air more humid (humid air has higher heat capacity), which will be also much more pronuncable than the increased density due to pressure.
Could voice recognition have prevented Boris Johnson being prank called?
Honestly it is not a big deal, just remember the else is for the break, not the for. Then it reads naturally: for this break else do that.
You write a query that is wrapped inside a serializable object. The object with your code inside is serialized using Java object serialization and distributed to every node. Each node is now able to execute your query based on Java code.

https://ignite.apache.org/features/computegrid.html
Interesting you mention Practical Ethics. How did it impact you? Is it more towards post-modernism and leftist ideas or tilts towards the right side of the political spectrum?
The media is presenting it to you as "Hindu nationalism" and what not. You need to really know what's happening on ground, which you cannot at all appreciate sitting in West by reading articles by random journos. I'd direct you to read A million mutinies now by VS Naipaul about Hindu awakening and what social churning is taking place in India. Also, there is no need to be alarmed as people are merely connecting to their roots and tradition. The current ideology of liberalism obviously detests the word tradition, so I can understand that Westerners are worried about some weird stuff going on in India. Greek and Roman philosophers were great of course, but none matched the heights to which Hindu philosophy went. And the height to which ancient Indian civilization went, there's no evidence to say that any other civilization went that far. Also, Hindus are still connected to that pagan past irrespective of thousands of years of invasion by various forces from the West (the Islamics, Church and colonialists). So there is a great desire to reach those heights. Past glory may be blinding, but to revel in belonging to the most powerful Western empire is something else. The sense of power and control can blind even the most level headed person. That said, the Hindu awakening is making the Hindus think of their future. Most importantly, Indians missed the Industrial revolution, which I can say is the main advantage West obtained. If West was so great, there'd be no reason for it to decline so quickly. Basically, Western civilization is a 300 year blip in the whole human history.
Ask HN: Questions those who are hired to work remotely on GitHub?
Do you've equity? Did you take a pay cut to work in this arrangement?

How much do companies pay you to have your work entirely on GitHub? Opensource based business model.

I have a new idea and stable money (own money), I wonder how much equity should I give to my first few employees whose job will be entirely on GitHub?

My business will offer self-hosted (free opensource) and hosted version, ala Gitlab model. The product is B2B, it will make it very easy to launch a SaaS-based business.

Which license is best for me?
At the time, nobody really cared about the languages and cultures, they cared mostly about regular payment of the taxes. Language become only important, when you had the ambition to get a job at the royal court or somewhere nearby hierarchy-wise. Since the monarchs were getting married across the entire Europe, it was unknown, which language will be the next hip one.

Languages and nations got their prominence only after French revolution, as a new bonding for the statehood, once the monarchs were gone.

If something really wanted to change the customs and culture, it were religions, not empires. Not even Roman Catholics managed that, though.
"And just following your emotions often makes things worse, so if you care about helping people it should be avoided."

Sources or arguments?

Because I see things different. If I don't feel like helping, I don't. I made the experience if I force myself to it, it often leads to a worse outcome. (Like breaking things)

Fun fact:
Hitler felt that Antisemitism is wrong, but at some point he choose his rational over his feelings and became what he became.
Because his rational reasons were that the jews were clearly poison to the good aryan people so to help them, he had to fight the enemy.
("literally stated somewhere in Mein Kampf")

... but feelings and emotions and rational and instinct and intuition often gets mixed up and I doubt you clearly seperate it.
You’re missing the point completely.

I’m really glad to hear that I’m not being targeted. However, I don’t much care about what the intent is, I care about what the effect is.

And what I see is a law that is vague and enforcement agents are given broad discretion. What this looks like is that each case become “facts and circumstances” case, which is an absolute nightmare from a compliance standpoint.

And the additional paperwork and personnel requirements appear to be non-trivial and will add a significant amount to the minimum necessary capital and labor needed to start a startup .

The inevitable and undisputable result is that at least some startups on the margin which could’ve made it before the law was passed will not make it after the law was passed.

Supporters would argue this is a good thing, but I would argue it is not.
Maybe you can format it to make it more presentable. :)
Well then you have to still test it if it's still 20% or not. I haven't written the code, I just think you shouldn't have to resort to hyperbole (ten hours, ten days) if the comment above doesn't warrant it.
YouTube stars' fury over algorithm tests
We have a societally-accepted reason for older people to earn more -- experience, responsibility, and time-in-grade are correlated both age and pay. The same cannot be said for race or sex.
I second 12 Rules of Life. Can you give a specific instance where it helped you?
I don't know if it was on HN, but I remember reading about productivity research concerning the length of the workweek. IIRC 25h week improved productivity compared to 40h. The study may have been done in Germany. But I haven't been able to find it or similar studies of high quality since.
How to Add a Headless CMS to Spree Commerce
You're right, I'm generalizing unreasonably. But I think can say that this is a problem. I don't think it's a particularly lawless town.

Breweries and bars might be different too
The Mexican art of double entendre
Thanks, I had a good laugh at this pun.
"E.g. Lawyers are more concerned with society having a fair process or procedure for doing things, than its advancement."

And I allways thought most lawyers are more concerned with winning their case and making money than "fair process". I know exceptions though, but heard and read horrible things about the average.
Related, from earlier layoffs:
http://chemjobber.blogspot.com/2015/08/a-clarifying-graph-of...
Fans big enough to significantly change air flow can be cheap. Window size box fans were $20 at the drug store last I checked. Build quality can't be great, but I had a fan like that last 5 years or so through heavy use.
You're completely ignoring the justification given, and it's a lot more difficult to translate the full situation to your analogy.
As the person who wrote those paragraphs, yes. The fundamental reason unsafe exists is not for performance reasons. That being said, the parent is also true that sometimes, unsafe is used to enhance performance. But that's not the usual case, and in fact, can even hurt performance in ways. For example, &mut T can't alias, but *mut T can, and so &mut T can be optimized more aggressively. (We recently turned these optimizations back on: https://github.com/rust-lang/rust/pull/50744 )
Better than steamrolling the debate by mentioning 'sati' and 'widow burning'. How'd you feel if to every achievement of Western civilization that you mention I said 'brutal slavery' (which actually finished the African civilization) and 'burning of witches'?
UI/UX design is not my passion – [Case study]
Spends most of the time promoting Dvorak but says Colemak is better.
Very technically, it is better to have the fan IN the room blowing OUTSIDE through a large opening. The air accelerated by the fan accelerates more air and that air goes outside. It mixes with the outside air so even if some of it goes back to the room it will already be cooler.

If you have fan in the window blowing into the room it has less potential to multiply the air it takes, it will typically be also already IN the room itself which will greatly decrease its efficiency.

On the other hand if your goal is to cool yourself when sitting at the des it is generally better to place your fan blowing in, this means you can direct the flow of air to wherever you want. This means you can direct it at your desk to cool yourself by just the air movement alone. When you place your fan blowing outside you loose that ability. Blowing the air at you means you can cool yourself even if the air temperature outside is higher than inside!

If your goal is to move as much air through your room then
you need to take into consideration the following:

- do you have other openings in the room (like doors... huh)?
- can you have flow of air through the building -- typically there will be pressure difference between two sides of building unless the air is completely still

If you can have your door and the window open, observe the direction of air already naturally flowing. Then put your fan so that it blows with already moving air, for maximum efficiency.
> so many exceptions.

You know nothing, Jonh Snow (seriously though, from a russian point of view English has very few of them)
https://blog.rust-lang.org/2015/05/11/traits.html
Entrepreneurs wanted; Kick starting the distributed economy
It's just the opposite of targeting a business to pay less than other enterprises, which happens all the times as development incentives. I don't think it's any worse policy than that, it's just the flipside.

In this case, due to the fact that by taking the town's total usage up, they raise the costs for everyone in the town, you could also just see as internalizing an externality.
Proper software requirements 101
Where have you seen real Bloomberg terminal?
France has regional accents too, none are as different as a Quebec one though.
Unless the bosses at Intel just hate older people (unlikely as they are almost all older people) they are doing this for economic reasons alone.

I say this as someone already over-the-hill age wise that we really need to find a way to allow people as they age to be able to accept a lower wage that matches their productivity. Far fewer old people would be made redundant if they got a wage cut every year instead of a raise.
This is a clear mis-reading of the law. Look at the examples that you can't use profiling (including geo-IP) for:

> which produces legal effects concerning him or her or similarly significantly affects him or her, such as automatic refusal of an online credit application or e-recruiting practices without any human intervention.

Blocking someone from reading a news website is clearly not a decision along these lines. Obviously this would need to be tested in court, but I would bet on it being allowed.

Also, the GDPR only applies at all if the business operates in the EU. If they clearly don't (e.g. by blocking European visitors) then the GDPR does not apply and you obviously can't use text in the GDPR itself to prove that you can't do that.

This article is nonsense.
Not sure if that was article, but catching up with my fire hazard of paper subscriptions I recently read this article on emotion intelligence and that theory of what emotion is: http://nautil.us/issue/51/limits/emotional-intelligence-need...
now that unreadable shader trick might be neat and all, but since GLSL supports if statements why not use this and make it readable? There certainly won't be any performance issues with rendering a single triangle, but I suppose people want to feel clever?

https://rauwendaal.net/2014/06/14/rendering-a-screen-coverin...
If the hypothesis was true, we would expect the effects of brain damage to reliably create a richer and more psychedelic experience for the sufferer. Hallucinations and paranoia are only a tiny subset of the effects experienced by people on psychedelics, so logically the only part of the hypothesis that becomes more probable is that the brain usually filters out hallucinations and paranoia. But I won't accept that either, because neither brain damage or psychedelics reliably produce paranoia, and brain damage does not reliably produce hallucinations.

I don't rule anything out, but the filter hypothesis seems a lot less likely to me given the evidence, than the simpler explanation: That psychedelics just mess up the normal functioning of the brain to create a different experience. This requires less assumptions than the filter hypothesis, which is akin to suggesting that the brain is actually drunk all the time, but alcohol merely removes the filter to allow us to experience the drunk phenomenology.
There's really no such thing as a "binary object graph format." Objects are not data. Code is not data. It's why serializing objects is so very complicated and dangerous. Serialized "data" is a program that can do everything a normal Java program can do. In the 90s we called this feature "mobile code" and thought it might be the future of distributed computing. Today we call it a "code injection attack" and recognize how enormously dangerous it is.

If you want data then define a schema and write/read your data. Serialization should really never be used and certainly not for long-lived data storage.

There is one place where serialization becomes useful and that is for storing objects off-heap, IPC, and for short-term storage (ie snapshots like Android's parcelable). For these cases I'd like to see the JVM embrace not just immutable value objects but full-fledged structs that have a well-defined memory layout. You can do this today using off-heap Buffers and interfaces but language support is always good so there's a universal standard that everybody can build upon. Once that's in place there'd be no need to ever use serialization.

That said I can't imagine Oracle will simply remove support object serialization. It may be kicked out of the "core" JDK and become an optional module. The classes may be deprecated. But the functionality likely isn't going anywhere in the next ten years.

Even if they did remove it nobody should be using the standard object serialization anyways. If you're going to use serialization (and you shouldn't) then you should absolutely be using FST [0].

[0] https://github.com/RuedigerMoeller/fast-serialization
For anyone interested, Photoshop has had this feature for a long time - Content Aware Scaling. It's also much faster.