skysight-inc/HackerNews huggingface dataset:
The thing that's not obvious to most people is that the power contained in moving air is proportional to the cube of the airspeed.

If you're local "average wind speed" is 5m/s (~12mph, a "Gentle Breeze" and #3 on the Beaufort scale), and you size your wind turbine to generate useful power (say, 1000W, for example) at that speed, you have two consequences due to that speed-cubed term.

1) When there's only light wind - say half your design average speed, you're only gonna get 1/8th of your 1000W target, so only 125W which isn't very useful if you've got a 1000W requirement.

2) The _bigger_ problem is when the wind blows faster than average. If you get twice average speeds, your turbine is going to generate 8kW which you'll need to safely deal with. But twice isn't your problem - in the real world it's not uncommon for 3 or 4 times average windspeed (what we'd normally just call "a windy day" and 7 or 8 on the Beaufort scale), at which stage you're going to need to safely dump 64kW of power - if your turbine hasn't been braked/parks appropriately (or torn itself to pieces.) If you're still spinning in hurricane conditions, you've got another doubling of windspeed, and another eightfold increase in power, so now your "1000W generator" is unleashing half a megawatt into your wiring and control electronics (or the plasma in the smoke where your wiring used to be...)

Beaufort scale with speeds and descriptions:
https://en.wikipedia.org/wiki/Beaufort_scale#Modern_scale

Some real world windspeed measurements showing upper end outliers of 8 times average speed:
http://www.wind-power-program.com/wind_statistics.htm
Same here. Firebug started to feel "limited" to what I could do in DevTools and they finally got me to switch. I honestly feel like I need to get Firefox another shot since Chrome's perf tools are heavily focused around the V8 engine. (Even though there is a lot of cross over with general JS perf)
I've weaned myself almost entirely off of sensationalized news, especially social feeds. I try to eliminate any "colorful" (read: opinionated) news sources, be they progressive or conservative. I will only consciously consume objective reporting, from outlets which I respect for neutrality.

Reuters, for example, still does a great job at focusing only on the facts, without attempting to interpret or inject personal opinions. They hold their journalists to a very high degree of journalistic integrity, and it really shows.
But we could say “fatted liver” and that would work, but of course food sophisticates need a more sophisticated term for their food to taste better.
How We’ll Invent the Future, by Bill Gates
Did folks really switch because of the tab /per process? I honestly didn't know until I saw memory hogging + folks posting about it.
That's Centennial? I thought I read that in Alaska
Browsers do a lot of blacklisting of drivers with known problems.

Things are slowly improving, especially as browsers themselves, especially Firefox, steadily do more GPU stuff (putting pressure on the driver makers to fix things), but there’s a reason why it’s been very rare for non-game UIs to target GPUs for rendering: GPU drivers are atrocious. Even if they don’t crash, the number of absolutely fundamental and critical bugs that they have is very impressive. As an example of a fundamental thing being broken, try https://github.com/tomaka/winit/pull/332#issuecomment-341383... and later on down in the thread where a driver update fixed it.
I see there is interest in this observation so I used a little ruby (.to_s(2)[-22..-17].to_i(2)) to get the datacenter id.

Then ran it on a few Twitter accounts: https://pastebin.com/w8Dnj5kM

It does work, and it's going to be hard to patch

edit: I realized you don't only get one location but the whole location history of a Twitter user. Also locating Twitter's data centers as it doesn't seem to be public information
I've had to spend 21 hours compiling something (a compiler) before. However, it's a one time thing, and once compiled, all my compilation times would decrease dramatically.

Why is it unreasonable that for this one time thing, the OS gets out of the way, and allows me to make a single exception?
> (I don't know, heating a blimp perhaps?)

Actually, given the recent interest in tethered blimps hosting high-altitude turbines, that's not as dumb an idea as it sounds. The prototypes shown so far generally use helium which is expensive and in limited supply.
You could try in Prolog. But the other difference is that prolog is. General purpose language (though used in a more specific set of situations). Alloy is not.

Also the search mechanisms are not the same. Prolog uses a backtracking, depth-first search behind the scenes. Alloy does not.

EDIT: I was out earlier and didn't want to make a claim I couldn't verify/backup. Alloy uses a SAT solver behind the scenes to find solutions.
I think we got here because of Martian Headsets:

https://www.joelonsoftware.com/2008/03/17/martian-headsets/
I hope it's not sacrilege to say in a dotcom startup-oriented community, but, as individuals and technologists, it's good practice to see how we can get by without dotcom tracking.

In this case, for example, perhaps a meetup can be coordinated by simply posting the meeting info to HN.

If there's a real need for an turnout estimate ahead of time, such as making a group table/room reservation at a venue that requires that, see how low-tech that can be. For example, an optional RSVP to email, and guess at the RSVP ratio.
Ask HN: Finding the Best Learning Resources
Whenever I try and learn a new technology / language / framework, I tend to waste a lot of time using mediocre resources and websites, until EVENTUALLY I find a great resource that makes everything so clear. “If only I had this from the beginning!”

Does anyone have any good tips and techniques to speed up this process, and find the best materials?
> There would be a meaningful difference that you would now have an operational exposure of the session keys, that fundamentally undermines not just PFS but potentially the encryption protecting the session in general.

That's no worse than before, where you could use the private key to undermine the encryption.

You could also end up with a much better system if you encrypted the session keys so that only the auditing device can decrypt them.
The obvious critique is that people in extreme poverty deserve every attention moment they can get, to derive a benefit with the lowest cost (to them) possible. But, when this represents an ad-hoc, it can often leave them stranded on a low increment from zero. So, adding proper drains to a favela is good because it reduces child mortality from bad drains, but its still a slum: the fix is unclear but probably involves a revolution.

These mechanisms are good because they can be easily understood and whilst they will require patching and hacking and repair and are inefficient and can't do all things, if they can provide a stable heat source to remove the burden of burning things, which actually kills more women and children because of lack of oxygen, CO/CO2 poisoning, asthma and other effects, there is a huge positive upside.

But, as has been said since at least the 1920s what we really need is soviet power, plus electricity.
On non-laptops update on startup is worse. Shut down turn off and go do something else. Waiting 10 minutes to start is annoying.
That's more of a testament to the general worker's rights climate in America than it is of the tech boom itself.
Wuhan, China
IANAL; While you're working, your employer has agreed on behalf of you (with your consent - the employment). You are not an end user when using enterprise licenses. I might be mistaken though, Microsoft licensing and laws are both complex topics.
Using these keys?
I am little sceptical and also curious about the Graphics library. Is this meant as a building block for more advanced graphics? Or do you still need to use things like DirectX if you need speed and features?
Thank you! I'll check it out.
> You're acting as if market manipulation is some far-out conspiracy theory rather than something relatively common.

Something of the scope you're suggesting has literally never happened, as far as I am aware. Certainly not recently (i.e. last forty years) in the US. Bet ya fifty dollars the SEC did in fact send this show-cause order.
RPL (Programming Language)
"This is a pile of crap. I can do better,"

I'll take this one step further and say: if you think this, you're unqualified for the position. You are an amateur.
This is an opinion piece by Michael Shellenberger, an ambitious activist and eco-pundit whose writings on environmentalism are somewhat controversial. I wonder who is funding his crusade? Just asking.
Soyuz Rocket Launches First Satellites for OneWeb Global Internet Constellation
I'll check this book out. Thank you!
As an example, I had a python function that needed to strip the front of a string and went into an infinte loop on an empty string due to a boneheaded mistake on my part. I failed to have a unit test for that particular input and didn't catch it till months after it went into production when empty strings started showing up occassionaly in the wild, and my program would get restarted by a watchdog which noticed it not making progress. A fuzzer would hopefully have caught that sooner.
Yes, I think that was it. It needs work, I can't even figure out how to search for my city.
Don’t have kids. Don’t buy a house. Spend significantly less than you earn.

Or just earn a shitload of money.
I agree. One of my all time favorites was https://sysdig.com/blog/container-isolation-gone-wrong/, it kept me hooked til the last line, like a thriller ^_^
Nope, it is anti-competitive and bad for the economy, as it creates trade barriers and stifles innovation, as well as using your taxes badly.

It essentially accounts to government subsidies for a certain company.

And that's why it is illegal in the EU.
> It's going to be hard to change the status quo.

There's plenty of room to improve on privacy. Non technical people don't care too much about privacy issues yet, but they will.
I dunno, I've seen quite a few piles of crap in my day as a SWE. The bar is not that high to do better.
Debuggers are your friend.
I cannot stand weekly or less than monthly 1:1s and I dispute they are an essential team process. They often waste time and I do not find them useful for my team.
I can’t speak for this vendor in particular, but one common reason for pricing like this is the vendor doesn’t want to deal with smaller customers as they often have the highest support requirements.
That phrase two dogs fighting comes to mind. (I don't use twitter, so I am not in the conversation much, but the spirit I am conveying here is that it feels like two agencies that want to claim ownership over what has become a public commons conversation are arguing about who has primacy, and I say "a plague on both your houses")
Or even more terrifyingly, this: http://domainincite.com/23957-un-ruling-may-put-io-domains-a...

Fortuitously, .dev happens to be hitting General Availability tomorrow. And both meetup.dev and openmeet.dev are still available!

Disclaimer: .dev is my baby.
I will explain something to above comment: if you re the only one putting this rule. you are the looser. welcome to europe.
I like this and have considered this approach using a git branch for annotations (although specific to using git, not familiar with other version control software). Have you done the git branch (or equivalent) approach?
I laughed out loud at "Failure as a service". Thanks for that.
Lazynlp: A library to scrape, clean, de-duplicate webpages to create datasets
> Not only they are bad for the economy, they're also mostly illegal in the EU.

I wish we would stop with this meme, you should ask what they think in the UK of their private trains, I would prefer to keep the French train monopoly, at least it's cheap and it works.
Do they have good test coverage? That's key. If they don't, start with that.
EU competition rules prohibit preferential treatment of domestic businesses in state procurement - any public contract worth more than €5.5m must be open to fair competition from firms in all EU member states. Alongside the State Aid rules, this is one of the most important principles in maintaining the fair operation of the Single Market and preventing internal protectionism.

https://europa.eu/youreurope/business/selling-in-eu/public-c...

http://ec.europa.eu/competition/state_aid/overview/index_en....
Webrings. Inline links to other people’s related content. The sense of exploration and discovery.
No. Different strategy.
Complete Discord API Wrapper Library for Clojure
I've written a Discord API wrapper library in Clojure. There've been quite a few of these, but so far this one is the most complete, having full support for sharding, rate-limit handling, and the entire HTTP API (except the webhook endpoints for slack and github compliant webhooks).

Let me know what you think, feel free to contribute, and most of all, have fun building bots!
So you’re saying a state like Venezuela should always keep being a raw materials exporter and an importer of goods with added value because jumpstarting or maintaining an industry is bad for global free trade?
I don't want to diminish how good it is, to see robots able to do this kind of finicky stuff, and anything which improves the safety of working on munitions has strong upsides, but lets not forget: the worldwide landmine, and anti-personnel bomb problem is huge, and it is causing extreme, life-long agony for women and children in disadvantaged places, and russia, america and britain have a massive un-met burden here, selling the weapons almost indiscriminately.

I don't expect Sandia to own this, but I do expect Sandia to recognize they are part of the problem. dismantling these bomblets to re-construct the parts into more modern bomblets is NOT HELPING in the sense I mean.

But it is very fine application of robotics: Great engineering, terrible ethics issues.
Then you may want to revisit one of the choices you determined isn't an option. Online lenders like OnDeck can supply capital in less than 72 hours and can take variable revenue cycles into consideration.
It amazing me how unprofessional the software industry has become. Users have had what they're willing to tolerate so steadily pushed against that they've all just become this industry's beta b----es. But hey, we get to drink beer and play games and get free food.
> All of the ways it's unlike Pearl Harbor favor the Chinese over what the Japanese had to work with in WWII. For one thing, they already control China. For another thing, they wouldn't have to reach all the way to Hawaii. They could mount pressure requiring a US response, then take out our carrier groups relatively close to their shores.

While true, I was referring more to the idea that immediately destroying a significant amount of American naval power would cause the United States to immediately fold. In that respect, China's possession of nuclear weapons is the most relevant difference.

On the other hand, China would get one shot at 2, maybe 3 carrier groups. If their attack fails, it would be a massive strategic backfire. If their attack succeeds, they gain only the immediate operational advantage of not having to worry about US carrier groups. They would also gain the strategic advantage of tying the hands of the US in terms of deploying ballistic missile defenses against a potential Chinese nuclear strike. But, as you point out, we could adapt and deploy submarines to blockade China while exerting diplomatic and economic pressure.

In other words, even if China manages to prove themselves invulnerable to the projected power of American carriers, they would still not gain a sustainable advantage and would remain in a protracted state of hostilities. The best case outcome of a Chinese first strike against American carriers would still be pretty awful for them.

> Even directed energy weapons have a saturation point. Such weapons are also dependent on detection and targeting, which can also be jammed and saturated.

It's hard to say at this point. If you're discussing the claim that cruise missiles are cheaper than carriers, a fair response is that megawatts are cheaper than cruise missiles. Maybe it won't work out, but it's worth a try and that's the stage we're at.
Are any of NuScales reactors licensed? It does sound like Small Modular Reactors would fit the bill.
You're right - for most small teams. For companies with tons of money and resources, probably a bit less so, as the barrier to entry becomes bigger and bigger. That, and as Facebook proved time and again, they can afford to just copy you from scratch.

For SAAS products, what I typically try to do is open source the libraries, but not the product. So, for example, if I were to write something simple that checked a device, and sent an email, assuming neither library existed, I'd open source the device api library and the email library, but not the product that uses the two in conjunction. I think it's a good balance.
Go in the C++ STL! Now that would be a headline!
I totally agree with this, and writing a test suite also happens to be a great exercise in learning a new legacy code base.

I’d also suggest following this up with a solid monitoring system so you can be confident any exceptions / performance regressions are caught.

Confidence in new deployed code and reduce time to find any faults is one of the most important aspects of development productivity.
How can Twitter be a free speech platform if you cant receive the speech for free?
FWIW, Armenian used to be classified as a Persian language because its vocabulary is extremely close to Persian languages. Later, modern linguistics understood that (using comparative methods) Armenian is a language isolate within Indo-European family and has no relation to Persian languages (other than Proto-Indo-European). What confused linguists for about a century is that Armenian happened to borrow almost its entire vocabulary from Persian!
>you can get 4-5 times as much heat out [...]

..but why?

The second law of thermodynamics says that the amount of energy won't change, it can only change form, right? (Correct me if I'm wrong, I'm not sure). So the electricity should either remain electricity or turn into heat?

I get that it might not happen at the place where we want it to. For instance, we don't want to be heating up the ground between the power plant and my house where the cable runs. And I also get that turning heat into electricity (as it happens at the power plant) might not be efficient. But I still feel that it should perform better than running a pipe with hot water which seems more likely to leak heat into the ground along the way.
Hence the distinction between “free as in speech” and “free as in beer”.
This makes interesting reading, as I've been following C++ graphics proposals for a while, and they are one of the inspirations behind piet. I hope for piet to have a role in the Rust ecosystem similar to what Titus envisions - it's certainly not a standard, but hopefully will be the tool people reach for, much like serde is for serialization.

Of course, if I fail, the negative consequences are minor, people just won't use it. By contrast, having bad stuff in a standard library lasts almost forever.
Box Reports Record Revenue
> Well, humans are already capable of dealing with it

If that were true, algorithms wouldn't be able to outperform those humans on the metrics that matter.

About your faking metrics issue, the trick in this case is simply taking the metrics that matter and feeding them into an algorithm. Problem solved.

Take metrics:

1) will suspect face justice if released

2) will he reintegrate faster if released

Anyone criminal who wants to game those metrics, well I for one will be applauding that !
Same happened to my father, but with a laptop. It was brutal, nothing worked.

Installed Linux, he used that laptop without much issue for the following 3 years.

Windows 7 (and IMO, even vista) was solid. Windows 8 was dumb, but still worked mostly the same as 7. Windows 10 is an affront to decency and I won't tolerate it.
Side note: grammatically "fattened liver" should be preferred over "fatted liver".
Computer Science and How It Changes the Way You Think
Dementia patients will forget that many of their loved ones are dead, and will ask to visit them, or why they don't come to visit. Reminding them that they're dead is a terrible thing, as I found out the hard way. Just say they're out of town for the time being. They've lost their ability to cope with reality, it's best to just go with the flow instead of upsetting them.
Glad to hear it! I started it a bunch of years ago as a side project, and now we have a small team working on it. Still a lot of work to do before it's as useful as we want it to be :)
They're legally required to since Jan 1, 2019. https://www.newsweek.com/end-hidden-costs-january-1st-all-us...
I have to agree with the comment you're replying to with a caveat. In my (limited) experience balls of mud are created because the developers either didn't understand the problem or its domain well. So if you come into a "pile of crap" and have the same (or less) experience with the problem/domain and (almost definitely) less time, then I really don't think you can do better. Maybe you can do it badly, differently, and think it's better though.

If you have more experience in the problem domain (either business or technical), then you might actually be able to rewrite it much better. But then there are quite a few other problems: Do we have time to rewrite it? Will it integrate well? Are you actually solving the right problem? Is it so different people won't know how to use or maintain it? etc.

I think even if you're rewriting code, doing it in the framework that's already available, and making as much use of it as is reasonable, is the better option.

I don't think it really matters what the solution is, within reason, as long as everyone agrees to follow it.
The vowels don't even sound similar to my anglophone but French-familiar ears.
I have made a new repo or a branch. Yes, but I typically keep it to myself and generate reports for others (if used at work).

EDIT: I was on mobile earlier, so extending my thoughts.

I typically make a new branch or repository but keep it on my own machine. I've gotten zero interest from colleagues in collaborating on this sort of thing, but they usually like the output. Org mode (my tool of choice, but not the only one) creates decent HTML output (you may want to play around with your own CSS or color schemes for the code blocks). So what I've done when we on-boarded a new project was to start doing this for certain critical sections that were under-documented. I then generated HTML output as a sort of white paper, and a PowerPoint deck that walked through the structure and control flow (would be best if I used flowcharts, but usually this is just text).

If we had good development machines at work, I'd definitely do the above with PlantUML or something similar to do text-based diagrams. Org will produce and embed images in the HTML output. This would make the flow for producing documentation much easier, I disliked trying to embed flowcharts created in Visio (tool available at work) into the HTML. I had to generate them, export to an image, link the image in org, and then keep it up to date manually. For a few charts it's not bad, but if you make a lot it's tedious to switch between tools and correctly export the image.

=====

For non-work stuff, I try to use literate programming from the start, but it's always solo projects so there's no "selling" this method. If I were collaborating with others, I'd have to reconsider the method. Leo has (from what I've read) an effective literate->code->literate story (that is, edit the code and the changes show back up in the literate format). Org mode can do that, but I haven't explored it. I'd really want that if I was to pursue literate programming in a collaborative environment (so that those uninterested in my method could still contribute).