skysight-inc/HackerNews huggingface dataset:
> who cares when they work.

I'm not demanding change, purely making an observation as a Northern European consultant who happens to drop in to the culture a few weeks a year.
> Also, napping quickly everywhere is a skill one can train.

I am interested! How did you, and how long did it take you?
Sorry, we're too busy getting concussions while working at fast food restaurants where the pay is so low, half the income goes to pay rent on the cheapest apartment possible.
My nomination for the quote of the year 2019 is in this article:

One worker said: “I left crypto to join an even more ludicrous ‘parody, IRL [in real life]’ enterprise. Didn’t even think that was possible.”
Digital Agencies get the most value (because they tend to have more projects on the go), but any web team wanting feedback from stakeholders will enjoy it.
Sure thing!

The application architecture is simple - it's an n-tier app (front end > business layer > SQL server).

The business layer is .NET/C#. I use Entity Framework as an ORM and then migrate the slower bits to Dapper + raw SQL whenever I need to trade maintainability for performance.

I'd be happy to expand on anything specific you're curious about :)
Protégés of Nobel laureates are more likely to thrive
I'm still hoping the UK's space strategy (satellites and SABRE excepted) is about playing the extremely long game.
It’s a touchy subject so usually not documented.

On the softer side, shutter sound can’t be muted on the camera app for JP sold iPhones, I can’t find any offical doc (not customer discussion) mentioning it.

edit: there was some doc, just with a vague “shutter sound might be disabled depending on your region” mention.
Amazon (Not FBA) Selling No Starch Press Counterfeits
Are you making interfaces for everything? Just register and use the class with constructor injection. All those layers of indirection just waste time.

What would change with functions outside of classes? You already have anonymous functions/lambdas, static classes and extension methods if it's about instantiation overhead, and local (nested) functions. Can you explain a scenario where this doesn't work for you?

For namespace declarations, you can just use the same namespace on all classes if you want to keep it simple, and that kind of flexibility isn't available if you use file structure.
> We thought we were in on something really big.

- We.
I don't. The number of people who wanted to publish things online but couldn't due to the technical barriers was huge. I'd much rather deal with the complexities of browser security than keep the internet the exclusive domain of technically-minded nerds. The internet as a platform is far better now even if the technology that drives it sucks.
Blasting Boeing, FAA, safety panel recommends changes in certification process
For the slowness, could you please check my reply here: https://news.ycombinator.com/item?id=21256353

For the active monitor issue, I have never tested on multi-monitors (I personally switched back to single-monitor after years of multi). Could you please open a ticket? It may be an easy update
Ok.

https://lmgtfy.com/?q=the+problem+with+iq+tests
How does RPA work? Same stuff, different way
I keep coming back for a look every time there is a major release but it always seems quite cumbersome to me despite the fact I work in C# everyday. I ran through the Razor pages tutorial yesterday and I was surprised how heavy it all felt, I was expecting something like Flask or Sinatra.

I'm a big fan of IDEs, I couldn't imagine using C# without one.
Be a Programmer Today
>buying milk that’s ‘only’ 2 week old milk is reasonably common

Do you have a citation for this by any chance? I've had a quick Google but no luck. Been interested in average food quality differences in US and EU since the "chlorinated chicken" news in the UK.
Unfortunately Mission Control is not keyboard-accessible :/
It's massive and includes all kind of things from localization, networking, file system, threading, compiler, graphics, cryptography, web, text processing, XAML, OS etc APIs.

https://docs.microsoft.com/en-us/dotnet/api/?view=netcore-3....
The magic mouse works surprisingly well. Use number 3 on the keyboard instead of the middle button, for say nades.
I hate that title. Nothing violates laws of physics. It just means we need new laws.
Yes. We should all trust anonymous strangers on the internet over... anonymous... Strangers... On the internet...
Puppy Cat
I've started to collect the open-source alternatives here: https://github.com/coderbyheart/open-source-meetup-alternati...
All public members are legitimate APIs. Would you be more happy if every property had get* and set* methods so now it counts as two?
> Neumann, 40, cashed in around $700m of his own shares in WeWork

My goodness, is WeWork the most stylish ponzi scheme of all time?
Pay $2 to get some pizza, beer, conversation and a talk. Not a bad deal...but sounds expensive compared to free.
"If you give me six lines written by the hand of the most honest of men, I will find something in them which will hang him."

People who actually achieve something are just subject to more scrutiny.

Also changing social mores means you are almost guaranteed to have done something improper if you have been publicly exposed for several decades.
I think Mensa is not a good frame of reference for intelligent people: You have to actively work towards getting into Mensa, which limits the target group to people who are willing to do that work, pay membership and possibly desire the prestige associated with it. Therefore it is very possible that some people with mental issues use it as a gateway to self-validation.
Sun radiation is about 1.4KW/m2 at the Earth orbit and the pressure is 0.00001N/m2 - basically the same numbers as GP mentioned for the photonic drive - can be calculated as 1.5KJ (for roundness of numbers) of photons divided by c which gives 0.000005kg-m/s of momentum per second, double that for bounce and thus 0.00001N. As photons are usually the things being thrown for the thrust in the mass-less thrust schemas, then those photonic thrust numbers seems to be a theoretical limit .
Meh. My Mum used to break the ice on our local lake and have a paddle quite regularly. She was in her fifties then...
Safe Browsing has a canonicalization step. Given a URL the Safe Browsing implementation calculates several hashes, each of which is checked. They're basically cutting the URL up into gradually less specific URLs, so e.g. maybe the site malware.example.com is a friendly site discussing Malware, no harm there, but https://malware.example.com/samples/ is entirely full of sample malware, don't want that, so when you try to go to https://malware.example.com/samples/windowsmacker.exe the browser hashes not only malware.example.com but also malware.example.com/samples and malware.example.com/windowsmacker.exe

This lets Google flag the actual problem, without freaking out for users who aren't in harms way. Millions of users visiting the discussion site see nothing, but everybody directed to an actual malware installer gets a warning.

So a "prefix" operation happens in the code twice, once in processing the SHA-256 hash to get a 32-bit prefix which is all Google / TenCent are ever shown but also before that during canonicalisation to figure out a list of hashes (not a single hash) for each URL visited.
How much did you spent on the writing of this tutorial?
- Allow functions outside of classes

What do you mean? Isn't that just anonymous functions?
Speaking up here as the person that designed the game at Bell Labs: we'll get rid of the signup wall - it really was meant only to get a unique nickname so we can put your score up on the leaderboard. We like the suggestion of generating a unique bookmarkable url instead.

As for why we don't allow you to type commands into a terminal: the game is as much about solving a puzzle with the basic blocks you're given as it is about shell programming. For newcomers the scratch interface a nice way to explore the kinds of things one can do with the unix utilities (in case it wasn't clear: the game is meant to be approachable to people unfamiliar with unix)

And besides, if we'd give you hackers a full-blown shell, you'd solve most of the challenges in no-time - where's the fun in that? :)

cheers,
Tom
> My wishlist for C# is short: [...]

F# provides all of them, is shipped with .Net Core 3.0 and also works great on Linux.
Its unusual for milk not to be UHT here in Spain.

I wonder if it's due to Spain being a warmer country and the milk spoiling more quickly.
Last 5 startups have used .NET, all of them have migrated and all new projects are on .NET Core. Every major dev shop I know starts new projects on Core.

It's mostly legacy and enterprise apps but it wasn't until .NET Core 3.0 (released last month) that it was viable to migrate everything perfectly anyway so it'll take time for that to filter through.

This is nothing like Python 2/3. .NET Standard has been out for a while and all the major libraries are compatible with both runtimes, and that now includes desktop APIs too.
The story is obviously negative toward Lambda School. With PR like that who needs hit pieces?
Cool! Where do I find it?
There are some similarities to Python 3 in .NET Core adoption.

I know plenty of people that would love nothing more than to be up to date and to start using .NET Core, but many of them rely on certain libraries that simply aren't there yet. I know a load of Umbraco devs that are eager to make the jump, but until their CMS supports it, they're kinda stuck if it's a dependency.
My own theory is that really bad decisions often require a degree of intelligence as they are often driven by sheer hubris rather than calm logical thinking.
Oops. You’re correct. The point still stands, though: the amount needed to bring drugs to market is vastly more, and if taxpayers were going to pay this much more in taxes, it’s not clear this is the best use of those new taxes.
If you'd like to develop on Linux, I suggest trying Jetbrains Rider. It's as good as VS in most cases, and better in several. I've used it as my primary IDE for most of this year.
Even if php stopped being used in all new projects today, people are still hiring for cobol projects.

The number of php projects now is orders of magnitude more than cobol in it's heyday.

There are going to be plenty of php jobs for quite some time.
A partial solution was already introduced with `with x as y`.
And yet it's not used for rockstar projects (change my mind).
I suspect a form of survivorship bias is contributing to these results.

Less-high-IQ people with the same disorders may never be diagnosed with these sorts of (often subtle & subjective) mood/anxiety/learning/chronic-immune disorders.

Perhaps, even, less-high-IQ people are more likely to literally perish before such diagnoses show up in national averages.

(And that's before considering the filter that many others have already mentioned: that only some, potentially-unrepresentative high-IQ people find the idea of joining MENSA appealing.)
Our First Official Look at the 2020 Volkswagen Golf Hatchback
ARBITRADE.pro – Smart Crypto Arbitrage Trading Platform
The chart isn't interesting. You don't know if ppl who types python, typed it to make websites. Same with Javascript, you can do an entire website but also an native apps or just a modal.
> Now their trains are better than anyone else's

Do you have source for that?

> They even managed to beat competitors and export their trains to Turkey and Argentina..

This does not necessary mean their trains are better than anyone's else.
Does the Wayback Machine help here?

Otherwise: I've got the same complaint. I've learnt not to rely on YouTube as a durable reference. I should remember to try the Archive more often.

Unfortunately, many third-party sites haven't, and frequently point at dead links.
How to Take Screenshot on Samsung Galaxy A50
As a South African I am genuinely offended that you get to go home early when you skip lunch and you're done with your work.
I haven't heard about any Chinese law that forces its citizens to comply with spying. But, if such a law exists, hiring Chinese nationals (or people who visit China often, for example to visit family) are a risk to secret high-tech projects.

The same can be said for hiring Australians dealing with software. Australia has a law that forces its citizens to comply with requests by the government to hide backdoors in code. As a consequence, anything contributed to important project by any Australian citizen is a potential risk. If your project is important enough, Australian contributions should not be accepted.

Laws like this make it incredibly risky to hire people from certain nationalities in big companies or for secret projects. Governments are willing to sacrifice the economic value of their citizens for the ability to hack and spy on anyone they like and other countries should respond appropriately. If you show that you're willing to use your citizens to take aggressive action, be prepared to have your citizens refused elsewhere.
Ask HN: How to come up with company name?
Hey guys, i am a full stack freelancer for the past 5 years and now i am creating my own software house. I am finding it hard to come up with a proper company name.
Is anyone here who went through the same.
How did you came up with your company name?
If you trully cared about facts you'd appreciate being corrected and overlook your distaste. Tone should have no bearing unless you just want to vent your own frustration.
I see highly downvoted comments being factually correct much too often.
There are other languages receiving way more praises like Python that at the end of the day are just lacking so many features that php gets right but still php is the bad guy.
After reading both of your posts, are you sure it was a misstep? Maybe realizing that you were intelligent did hurt in the short term, but was a necessary step towards improving your attitude in the long term?

Obviously I'm just theorizing from my armchair and don't know more than you about this, or want to be agreed with, it's just that your post sparked my interest and I'd like to know more because my hunch is that removing excuses to not change oneself is generally a reasonable thing to do, even if it can hurt in the short term. In fact, it kind of worked for me to improve myself in the past (not regarding intelligence or academic/professional achievements, but other aspects of life). Maybe it depends on the particular person and situation?
Apple Is Sharing Safe Browsing Data with Chinese Conglomerate Tencent
>Party of China's "Study the Great Nation" – through browser telemetry.

Wow. As the corporate types would say - the optics on this are not great
Yeah, on a more technical level, the issue I put to the agency was that they had the same weighting in their conversion reporting for a retargeted viewthrough as they did for a click through conversion from a source that was the only channel in a linear attribution.

The former is some nice data on steps to convert, the latter is a conversion driver - the problem is, the latter is hard and the former is easy, so ad tech agencies try and spin them as being equal since they want to push the easy "wins".
So any secrets communicated in the URL via e.g. get parameters can be potentially brute-forced based on the hash?
I'm also surprised by all the talk about Sublime's death. I use it all the time for everything except C++ (for which I use CLion) and it's good as it is, I don't see why would it need update churn. Well, except for still making money for the author, I guess.
> For one, you could just not get in a car

Yeah, but what's the coal plant equivalent? You can try to avoid living near nuclear plants as well.
For both parties. You give up certain freedoms in order to get something more valuable.
Norway is of course not "on the continent", which means part of mainland Europe (i.e. with France, Germany, Italy and so on). That doesn't mean they can't prefer that style of breakfast, but since this is about traditional/cultural food choices it should probably not be assumed. :)

A quick check of Wikipedia's handy breakfast-per-country list [1] gives:

80% of Norwegians eat breakfast (frokost) daily, mostly at home. The most common breakfast is open sandwiches (smørbrød), often whole wheat bread, with cheese, often Jarlsberg, Norvegia or brunost, cold cuts,[71] leverpostei, jam etc. Common drinks are water, various types of coffee such as French press, cafe latte or espresso, milk and juice. Another common breakfast is breakfast cereals like corn flakes eaten with milk, kulturmelk, or yogurt. Whole-grain porridges with regular milk or butter are also eaten by some. More ample breakfasts may include fish, a diverse array of cheese, eggs, bacon, breads, and hot and cold cereals eaten in various combinations.[67] Pastries such as croissants or pain au chocolat have become increasingly common since the 1990s.

[1] https://en.wikipedia.org/wiki/Breakfast
I think very little macro design is driven by users. Somebody has an idea, they try it out and iterate.

We wouldn't have the things you're hanging onto without that sort of development.
I wouldn’t mind cpython performance improvements over language features. Specifically startup time. Py cli tools can easily take up
to 300-600ms to start. Now, try to use them for scripting. A single script doing a bunch of calls to python clis has already several seconds of runtime penalty.
He wants top level functions. He wants to not have to write classes if he thinks the domain doesn't need modelling as objects.
Oh, you must be new to that subreddit then :D
The closest you'll get to free floating functions are methods in a static class. The static classes essentially become namespaces.

Then with static using directives, you don't need to spell out the namespaces.

https://docs.microsoft.com/en-us/dotnet/csharp/language-refe...

You can even put every global function into a single class but still organize your code across multiple files by making them all part of the same partial class.

I personally wouldn't organize my code this way, but it seems like you can achieve what you want today with minimal effort.
Get a Gaming Chair for Your Office. Your Back Will Thank You
What's a "rockstar project"? :-)
This whole article reads like a search engine optimisation piece.
"This California pistachio is brought to you courtesy of the Internal Revenue Service and the Shah of Iran" ...
Lifespan Cognitive Reserve–A Secret to Coping with Neurodegenerative Pathology
I think that feature has exactly zero chances of getting adopted, but that's probably one of my top Python annoyances too.

If it's any consolation, the scope of a variable isn't determined by heuristics, it's just that the rules are (IMO) kinda bad. Basically, if a variable is assigned (in addition to `=` and friends, `import`, `class` and `def` are also assignments in disguise) to in what Python calls a "block" (which is not like a C-style block; rather `class` body, `def` body, or top-level) it is considered to belong to that block (with the notable exception of the name for a caught exception in a `except Exception as e: ...`, see [1]). If you want it to refer to a variable outside the block, you need to use `global` or `nonlocal` as appropriate. The full gory details are in [2]

1: https://docs.python.org/3/reference/compound_stmts.html#the-...

2: https://docs.python.org/3/reference/executionmodel.html#nami...
There are fixed costs per plant, like the very qualified people to run them. Increasing the number of plants also increases the cost per kWh.
>But the claim is that he was making advances on people who didn't welcome them.

That was part of my point. One can be crash or sexist like that and still a great writer/thinker/etc.

The other ("If female grad students were inviting him over for booty calls I think the tone of the conversation would be much different") of course goes without saying!
In my experience most of the food is. American seem to go for quantity over quality. I am sure there are exceptions (they do good hamburgers) but most of the stuff i got served seemed overly processed.
Is it like that though? If you are the only one in your office who doesn't follow the mindset of simple lunches, won't that impact you socially?
Facebook CEO Zuckerberg admits to hosting dinners with conservative politicians
HttpClient is fast and efficient, and the built-in cookie container handles all the standard functionality, although many users just read and handle the cookie header directly.

This RFC seems to be all about rejecting certain cookies under some very specific security rules. How impactful is this really? Is this affecting your app somehow?
I thought that looked kind of wasteful, here in Australia we just put the two buttered sides together with the filling in between. Then you put that in your reusable luchbox that you take to work everyday.
I meant for inline strings (i.e., typed by the programmer). This is an inoffensive change. The only possible ``accident'' is when the programmer wants to write "{x}" instead of the value of x. This is such and exceptional case that it may be best treated by forcing to escape the curly brackets.

If anything, user-input strings must be treated as tainted whatever the case.
I spent 17 years in Denmark, and now a couple years in Norway, and I can say that the Danish lunch culture is far richer than the Norwegian one. I studied at a Danish gymnasium and university. I now work at a Norwegian university.

For starters, Norwegians do not employ rye bread.

Furthermore, Norwegian open-faced sandwiches have not evolved into full-blown smørrebrød - where stacking multiple ingredients is such essential part, that you cannot eat the common smørrebrød without cutlery.

Case in point: https://www.valdemarsro.dk/luksus-stjerneskud/

At my university, we would lunch in groups, building such works of art during lunch-time from shared packs of ingredients.

It may be that Danish school children get a "boring" lunch, similar to the Norwegian one. However, as Danes grow up, their lunches evolve in tastes and complexity. It seems less so in Norway, and that's OK, but a tiny bit boring :-P
The general rule we follow is the 5 W's and 1 H.

Which goes, Who, What, When, Where, Why and How.

If an article answers those five then it's done. Any other details is seen as fluff and a waste of editorial space. Which is funny considering the internet actually means there should be a a lot more space for editorial.
Chilean cuisine is strange. They have high quality ingredients available, but don't do much with them.
Woke AI Won’t Save Us
You can have static classes that can contain nothing but static members - so effectively a namespace with no instantiation of that class allowed so no objects.
The Heuristic Testing Strategy Model Mindmap – That’s a Bug
+1 for Rider. It's basically ReSharper.
>I see that you are employing the rhetorical device of diluting rather serious allegations by putting them in a list that also contains things of no importance,

Let me add somethings of importance then: one can be thief and/or murderer (like e.g. Caravaggio, François Villon, Burroughs, Jean Genet, Cellini, etc.) and still be a great writer, poet, painter, sculptor, etc.

>I will not, however, accept that the contributions either justify or excuse harmful behavior.

Could be the worse, the harmful behavior could inform the contributions.

Good people can still make great art (Bach for one), but they don't make great art of the kind bad people make, nor do they have the same access as bad people to express those impulses and that side of humanity.
You can use a static class though. It's 1 class that then just behaves like a namespace and doesn't need any object modeling.