skysight-inc/HackerNews huggingface dataset:
I don't understand the Dyson hype. Their products seem over-engineered, over-priced, and under-performing...

On top of which Dyson himself is strongly pro-Brexit [1] which is shaping up to be a disaster for the UK. Really don't hold out much hope for this.

[1] https://www.telegraph.co.uk/men/thinking-man/sir-james-dyson...
I agree, but that's besides the point.

It was just an example to show one way how C can control alignment.
Computational Complexity: A Modern Approach (2007)
The defaults on Ubuntu at least have been changed (not sure since when, though) "since release 2.6.0 we have made localhost binding the default configuration in our most popular deployment package formats, RPM and deb" from https://www.mongodb.com/blog/post/update-how-to-avoid-a-mali...
I think that is sometimes right and sometimes wrong. It’s not consistent enough to elevate to a principle.

Macs were incredible for backwards-compatibility back in the 80s and 90s, as good as PCs if not better. Games from 1985 would run happily in System 7 and MacOS 8. It didn’t help them win against the PC.

Since the return of Steve Jobs, Apple have become increasingly aggressive about killing off old “obsolete” hardware and software features. As a Mac or iOS developer it can be incredibly frustrating, constantly having to jump through new hoops just to be permitted to stay on the platform. But that doesn’t seem to have hurt Apple’s business success in the slightest.

To answer your initial question--

Whats the point of providing a seed() function if the algorithm can change from under your feet, for any given implementation?

I was imagining that the algorithm would be stable across runs but permitted to change across major library updates, say.

But I forgot there are two parts to it. One is seed(), the other is the no-args constructor that uses the system clock but no additional randomness. Can we at least agree that that one should be fixed? It’s hard to see how any users even could have a hard dependency on that specific implementation. Like, code that absolutely requires independent Random objects created in the same millisecond to have the same seed? Do you see a big risk in breaking clients like that, for the benefit of improving randomness for everybody else?
Glocal Environment and Entrepreneurial Hatchery Resource Mega List
Hydrogen is gaseous at normal temperatures. Both Kerosene and hydrogen are flammable, but being gaseous means that the resulting exothermic reaction will happen much faster and thus the energy will be released much more violently (think:explosion).

Additionally, as you said, storing hydrogen densely enough means pressured containers, or extreme cooling (like for rockets).
Hopefully Zig [1] language will become a better alternative to C in upcoming years. Not talking about higher level code where Rust or Go can be a better choice.

[1] https://ziglang.org/
I'm not sure what you're getting at there to be honest, especially not with the last comment about peasants? I don't want a fairness doctrine because it clearly is pointless and wouldn't be enforced, thus making it at best a waste of legislative time and at worst a selectively enforced rule; the classic weapon of tyrants everywhere.

In theory journalists should be able to separate their personal opinions from their work. Many other professions do, most notably defence lawyers. You sound like you don't believe it's possible, which should put you in agreement with me that a fairness doctrine is a silly thing to have.

As for your final comments: do you really believe conservatives - all those hundreds of millions of them around the world - are Disney villains who hate the sick and will block medicine shipments just for the sheer hell of it? That quote is obviously extremist nonsense. People refuse to sell each other medicine all the time for all sorts of reasons but it's never to do with just a blind hatred of the sick, as that quote implies. The fact that the head of a major news operation apparently believes such a statement is worthy of being repeated says everything one needs to know about the state of modern journalism.
> Endowment: $24.785 billion

https://en.wikipedia.org/wiki/List_of_colleges_and_universit...
Fixed! There's now a color palette for "sdlkfjsldkfjsldfkj" ;)
I'd rather see those people using their time hiking mountains, watching tv shows, doing arts... than go spend their day at a useless job that will make them feel unhappy because of the lack of accomplishment.
It has military bases and surveillance systems there so I'd say yes.

I'd also wager that if they tried to force the US to leave, the US would respond with aggression, most likely economically.
Thankfully, compiler warnings and static analyzers have become much better in recent years. For instance, gcc can now warn about a missing 'break;' mentioned in the article (you need to add a special comment like '/* fall through */' if it's intentional). Also, clang-tidy is getting better with each release. I highly recommend using it, although the initial configuration will take some time, depending on the code base.
I'm very interested to see what Dyson comes up with here, but I'm surprised they've considered undertaking the entire vehicle design and manufacturing process, and not just developing powertrains for other companies to use.
CNN has frequently published news that is factually false in the past. What makes you so sure there's a big difference in accuracy?
6 ways to debug Drupal 8
I’m genuinely curious as to what they’re working on: my guess is it’ll have spherical wheels, a climate control system with cyclone technology and expensive air filters you’re supposed to wash every 500 miles, be silvery plastic with orange highlights, dock with a dedicated wall charger, feature a drivechain with Dyson Digital Motor(TM) technology, and cost a lot of money.
admin to student ratio is critical
Vanguard manages over $4 trillion with only 1600 employees.
I'm in a similar position. Maybe we should get in touch and figure out a way to hold each other accountable to learning the language.
The only way to win the game is not to play at all. Do good work, don't let the company take advantage of you, make promises you can keep, and then KEEP THEM, treat your colleagues nicely, teach when you can, learn when your colleagues have something to teach you, say "I don't know" and "I was wrong", and "Thank you", study and practice servant leadership, and remember that your worth as a human is not very closely related to what's written on your paycheck.
Alas! strlcpy and strlcat are still not present in the glibc, despite numerous attempts, mainly for religious reasons (ie. "BSD sucks").

And yes, having something like "if (strlcat(buffer, src, sizeof(buffer) >= sizeof(buffer)) { abort(); } " is much better than buffer overrun. But security does not always seem to be a real concern, compared to politics.
Spread SunMade Cheese to Stop Child Labor in Africa Using Solar Cow
It can be derogatory. But yes it's not that commonly used as a defamatory comment.
And it will suck
I've got a 10 year old who's been making a lot of stuff in Scratch since he was 6. I've been trying to think of how to phase him over to less limited languages and wasn't aware of blocklike.js, so thank you for that idea.

Having a lot of projects that you don't finish is completely normal, so don't worry about that.
The conversation isn't pointless! It started with you stating your belief that your family member is stupid (Dunning-Kruger effect) and that your knowledge of maths means you "know" that Google's results are unbiased.

Well, honestly that concerned me because family relations are quite important. If the outcome of this conversation is you realise neither of you two know for sure then perhaps your view of your family member will go back to what it was, or even you may take their concerns more seriously and listen to them more closely. That would be a healthier family! Certainly, knowing maths is irrelevant to the debate you would have with them because maths has nothing to do with whether Google News is biased or not.
But that does not explain real life differences between companies in the same sector and with the same type of ownership. In my sector I've seen good and bad cultures at work. The difference is astute. So there must be aspects of culture (and change) that are attainable by stock-owned companies, but only attained by some.
There are tons of hosted alteratives to Slack, a good one is mattermost. Why bother with slack? It is better to say Bye Bye Slack.
What do you all think about this project?
It seems, for lack of unit tests, real-life almost never removes code from bureaucracies, and achieves efficiency only by replacing the whole organization.
I don't think anyone is satisfied with the state of css and javascript.
The European Directive 2003/98/EC on re-use of public sector information allows any EU citizen to request data (source code is data) from any institution that is funded for at least 50% by government. The data should be given in a form that allows reuse. For source code that means a FOSS license.

https://eur-lex.europa.eu/legal-content/EN/TXT/?uri=CELEX:32...

Each of these directives is implemented as a law in member states. The Dutch version is here: http://wetten.overheid.nl/BWBR0036795/
I am 35 and I am lonely and it's not getting any better + my job is getting boring (DBA), since I am pretty familiar with everything, and there's no chance for me to switch to programming, even though I know JS and many other languages, but my resume says: 10+ years DBA.
How We Remember and What
I think they put it there to realize Stanford mission is not to educate future businessman and women, scholars etc. Their main business is making hard core cash. Which obviously should not be a mission of educational platform. And thats why you need so many helpers running around.

Frankly its truly disgusting that they will make their students invent stuff that they patent and sale, and also kae them pay tuition for that. And of course Stanford is not an exception; MIT makes even bigger buck!

If american healthcare system is not a total rip off and fraud to you, then look no further than american educational system.
By "you", if you mean the city, I presume so—when I see the cafés, restaurants open almost until 03:00 AM (at least during the ten days of the festival), and probably the local musicians and artists might also make a buck or two from their performances (not to mention people renting out their homes via AirBnB; I don't know how popular that option is here, as I certainly see lots of closed and 'dark' homes at night).

But many locals say that they don't feel like being in the city during summer due to overcrowdedness and they feel like they can't get the day-to-day errands done in the city without going through a sea of people.
Are you suggesting that other languages provide more control over modern hardware?
Why don't they use valgrind?
12 hours later and still doesn't work for me
Or buy startups.
> I have had a middle manager tell me that they where not cutting down the team, because he wanted to be a manager of 5 people, just like that.

Better yet: there are companies where a team needs to have at least N people in order for it to be assigned a manager. Otherwise it gets a "team leader" and several of those get assigned to a single manager.

N varies with the job, too. It can be as low as 5-6 in software development or engineering, and as high as 30-40 in administrative departments or poorly-automated production floors.

So if you cut the bullshit jobs, you also cut yours. No one does that.

How good it looks on the CV is also a factor, indeed, and often it's a barrier of entry, too. When hiring managers, many companies, including the ones that you'd think would know better, routinely demand a minimum team size, regardless of team performance. You can manage a team of 200 and run all projects into the ground and still get hired -- and yet get disappointed looks if you managed a team of 20, no matter how well it performed.
Department store of the future: retail innovations customers are likely to see
Agree. I think the big breakthrough is going to be with figuring out some sort of replacement for the li-ion battery in terms of eletrical powered aircraft. Batteries are just way too heavy for how much energy they hold. There has to be a better way. I think we need some out of the box thinking for this one.

I know solar energy is advancing, what about if we put thin-film solar cells on the exterior of the body of the aircraft? That might allow greater distance travel without much additional weight. There is already solar powered aircraft that traveled around the globe called the solar one. It is experimental but still a good concept to look at.
also close to your last point,

- abundance of people with good social and low practical skills
Developing countries could really benefit from this if people contribute resources by installing Food@home on their machines.
It's sure nice to not have your corneas constantly assaulted by charged dust particles.
Hi,

> required

Is this even legal according to GDPR?

https://screenshots.firefox.com/MnEgMtsGavMlxcts/www.buzzfee...
The kernel has CONFIG_HAVE_DEBUG_KMEMLEAK.
>Ultimately patterns (atoms, cells, people, societies, whatever) organize by efficiency, by how well they reduce energy gradients across time, not by what the individual actors wishes or feels.

I disagree. Look up game theory and tragedy of the commons.

https://en.wikipedia.org/wiki/Game_theory

https://en.wikipedia.org/wiki/Tragedy_of_the_commons

>term used in social science to describe a situation in a shared-resource system where individual users acting independently according to their own self-interest behave contrary to the common good of all users by depleting or spoiling that resource through their collective action.

>Although common resource systems have been known to collapse due to overuse (such as in over-fishing)...

Especially check the "examples" section
Apple bought Metaio in 2015.

https://en.wikipedia.org/wiki/Metaio
Rails was always for people who didn't know better.
Has anybody successfully used this to request any piece of government software under a FLOSS license?
Yes. Especially if it has an ULMB function that can strobe the backlight.
sure, you can build a rube goldberg machine, and removing any of the parts might break it. this still doesn't mean the machine is efficient or makes much sense. adding a piece you usually also create interdependencies, which lead to adding even more pieces later. it's not about something breaking, it's about something being already broken in its current state, and priorities (I understand your point, just adding this as a thought)
Not sure about London specifically, but this sort of fragmentation occured in medieval Europe through people donating their property to a specific church, even though there would have been a geographically closer one.
>Second, for me the most important feature is that the house should be a healthy space. Few houses have continuous filtered air ventilation systems, and it makes a huge difference to avoid mould, CO and VOCs. It doesn't have to be something centralized and superfancy. You can have them per room.

+1 for that, it is one of the most overlooked parts in modern building, in practice you cannot have a house Class C or higher (B ot A, let alone A+) without a valid air ventilation/renew system.

Particularly if you (and wife/partner/family) work full-time.

Once upon a time (and in tradditional houses that were thermal inefficient but much more permeable to vapour and had this or that form of natural ventilation) the wife (that stayed at home) would open all windows in the morning, undo the beds and put the linen to the air, once a week or so also pput matresses on windows sills, etc.

Nowadays the house (which is airtight in order to be energy efficient) is kept with all foors and windows closed at all times and this creates an amount of humidity (and conversely dew/mould) that is NOT healthy.
The long axis of the desk still has a load bearing member that can flex. Presumably if you get a longer desk frame the member would be adjusted (in size or thickness or whatnot) to not bow.
hmmm... In my experience, I have had much less logic errors in C++ than in Python or JS because I tend to try to encode the domain logic into the types as much as possible, so that I can piggyback on the compiler.
I think this is one sign of the changing times for the automotive industry. Dyson has a lot of technologies required to manufacture an electric car in-house. Batteries and their control, electric motors, and of course they manufacture their products too. So getting into car manufacturing doesn't seem to be a huge stretch.
How much does a university do outside of giving classes to students? Don't they also operate a huge research endeavour, patent administration, and operate numerous businesses all at once?
> In some ways this is a good question to ask, but much like a statement in legacy code, it's sometimes unclear why a rule exists until after you remove it, and then it's too late.

The term for this, in case anyone is curious, is Chesterton's Fence.

> In the matter of reforming things, as distinct from deforming them, there is one plain and simple principle; a principle which will probably be called a paradox. There exists in such a case a certain institution or law; let us say, for the sake of simplicity, a fence or gate erected across a road. The more modern type of reformer goes gaily up to it and says, "I don't see the use of this; let us clear it away." To which the more intelligent type of reformer will do well to answer: "If you don't see the use of it, I certainly won't let you clear it away. Go away and think. Then, when you can come back and tell me that you do see the use of it, I may allow you to destroy it."

- G.K. Chesterton.
Instead of this:

(rule & (1 << i)) === 0 ? 0 : 1

You could just do:

(rule >> i) & 1

Otherwise it was a good review! I'd probably also extract parts of this long line so it's not as cumbersome to read:

return state.map((item, i) =>
rules[((state[i - 1] || 0) * 4) + (item * 2) + (state[i + 1] || 0)]
);

to

return state.map((item, i) => {
const prevItem = state[i - 1] || 0;
const nextItem = state[i + 1] || 0;
return rules[(prevItem << 2) | (item << 1) | nextItem];
});

It also uses bitwise operations instead of arithmetic, even though they are equivalent in this context, simply because we are effectively operating on arrays of bits.
But those tend to be the people who make or break your strategy. You know, the ones who pick the right vision and how to get there, which the others then can help implementing.

You don't really have a good army without decent generals.
Ask HN: First principles thinking for implementing database, security, etc.
I am part of the tech team in a fintech startup processing 100s of 1000s of payment transactions. Part of our team is inclined towards applying first principles thinking for core tech requirements such as Database or Information Security tooling. This seems to me like a lot of wasted time, as it takes our ability to focus on our core problem - payments. Our thinking bandwidth is limited (finite) and we can only focus on so many things at a time. Do other companies also spend time on reading research papers on RDBMS, NoSQL, HSM, Byzantine Fault Tolerance, etc. & build their decisions from the ground up? Would like to know how other tech companies approach this.
'But': I've not once met a manager that was thinking about his budget first and foremost. Budget thinking is always implicit and couched in other objectives of a firm. So there must be some mechanism that fails holding said manager accountable for attaining the business goals he gets his budget for. So should I then look at the controllers for failing to control? I'm really at a loss (professionally) why some managers get away with no results and growing budgets and project portfolios, even within a culture that values delivery.
Norway’s oil is inherently difficult compared to Saudi oil, but they already have a lot of infrastructure and skill and are incredibly competent. It would be different if we had just discovered the North Sea oil and had to decide between that and Saudi land based reserves.
http://hitchhikers.wikia.com/wiki/Golgafrinchan_Ark_Fleet_Sh...
Yep. He also moved all his production out of the UK to Malaysia.
I would write back to them very politely, something like this:

Hello,

Thank you for your email. I initially reacted by pulling the extension, in fear of possible legal consequences. But on reflection I would like to propose a better solution.

There are hundreds of extensions that customise websites, in many cases to help 'power users', or to assist people with accessibility problems not provided for by the websites themselves. These extensions are often made by the websites' most avid users. A great example is the Refined GitHub extension, which GitHub itself has embraced as a proving ground and source of inspiration for new official features. [1][2]

That said, it is of course vital that people understand that such extensions are unofficial, and that they are unsupported and not endorsed by the website owner.

I would like to notify you of my intent to republish my extension with the changes outlined below, which I hope will satisfy your concerns.

• New extension title: "BetterSlack: Unofficial customizations for Slack"

• Modify store description to include an explicit warning that installation and use of the extension is at your own risk, and is not endorsed in any way by Slack, and that Slack offers no support for it.

In the interests of transparency I will publish all of our correspondence on my blog, as I think this is an important issue of interest to the wider community concerning the rights of individuals to control their own computers and customise their own experiences.

Best regards,

...

[1] https://github.com/sindresorhus/refined-github/issues/1469
[2] https://blog.github.com/2018-08-28-announcing-paper-cuts/
I am fairly convinced that bullshit jobs (and entire bullshit industries) exist as a consequence of the following things:

1) There is less and less actual work to be done due to technological progress;
2) There are economic incentives to create larger and larger organizations;
3) Society hasn't found a rational way to redistribute wealth yet.

This is tragic. Entire human lives are being wasted on this dystopia of boredom and meaninglessness. I would argue that part of the stalemate is caused by politics and social norms. Even though there is not much actual work to be done, people still tend to tie their self-worth and social status to employment. This leads them to demand jobs from politicians, and the politicians find a way to provide them. "Jobs" is usually one of the main topics in any modern election. A rational society at our current stage of development would be celebrating job destruction, not creation.

As technology progresses, and all things being equal, the situation will only become more extreme and ridiculous. Unfortunately, I bet we will get out of this stalemate in a rather nasty way: through resource depletion and environmental collapse.

It depresses me that our species hasn't been fundamentally able to elevate itself above basic monkey-like biological programs and do better than this.