skysight-inc/HackerNews huggingface dataset:
Great meta article. Some other general advice concerning iterative development:

- Test your ideas on a smaller data sample at first to iterate and debug more rapidly.

- Caching your augmented data to disk may also improve iteration speed. Or it may not, depending on kernal disk cache vs disk bandwidth vs compute tradeoffs.

- Wrap your functions in timers so you can notice when a new processing stage is unnaturally slow, rather than having to back out later what happened.

- Make sure you're actually setup and using the GPU and not accidentally running on the CPU.
Schröder and his government kick-started the German renewable energy sector. The nuclear exit was a long term plan that was eventually undone by Merkel, which slowed down Germany's progress in this regard. It's like the current coal exit: 20 years is enough time to replace coal with renewable energies. If, however, the next government decides to rely on coal for many more years and then hastily ditches it from one day to the next, the alternatives won't be environmental friendly either.

That said, the percentage that nuclear energy contributed to Germany's electricity production has been completely replaced by renewable energies. Gas plays a negligible role there, although it's usage has been growing slightly over the past 20 years.

Lastly, people who claim that Germany relies too much on Russian oil and gas imports like to ignore just how much the Russian economy relies on oil and gas exports.
How qualified are the leads you get from the opaque landing page? Seems like subscribers would be unlikely to read a newsletter having signed up for it while not knowing what it was about. I would imagine you’d want to optimize for opens over subscribers to avoid vanity metrics, though perhaps not.
Better use an old printer indeed, since modern printers can have tracking dots with a timestamp and a serial number of the printer, which both can give away the backdating (https://en.wikipedia.org/wiki/Machine_Identification_Code)
> I can't see the problem here.

I didn't say it was a problem.
> One thing I like about JS is that you dont have to think about types

This is patently wrong. You _are_ thinking about types. Every object, function, variable you write has a type you store in your head. The question is about how easy it is to remember those types in 6 months, or how hard it would be for a new developer to figure them out.

> JS has always had a test driven approach

Yes, and you should keep that test-driven approach with TypeScript. I'm not sure why anyone would assert otherwise.
‘History is written by the vict..err..a huge history buff’
The number they consider conservative is that TypeScript can address up to 15% of public bugs. That's a different number than the proportion of public bugs found ts-undetectable because they're not type errors at all.
I don’t get it- the title is totally incorrect. He hasn’t written a third of what’s on Wikipedia.
You whole fucking stupid. too stupid. you no have brain. Idiot. Go kill yourself, you stupid dog. Don't put other people life at rist. Stupid idiot. Go die, you stupidl
Verilog sources for Western Digital's open source RISC-V core
It is also time to move on to real world environments. Games are cool, but the network is essentially learning some thousand lines of C++. Reinforcement learning needs to prove itself in real-world tasks.
Military equipment is constructed by private civilian companies, by normal civilian employees, not by members of armed services.

See for example

https://fluormarinepropulsion.com/

https://www.bechtel.com/services/defense-nuclear-security/us...

https://www.bwxt.com/what-we-do/naval-nuclear-propulsion

Welcome to the military-industrial complex
Artsy Hires Engineers
There's a classy response[0] from a Chrome engineer, if you haven't seen it.

[0] - https://mobile.twitter.com/tabatkins/status/1088592789187657...
They moved production to India (and Brazil likewise) because THOSE countries have huge import duties, not because of a rebalancing away from China.
How often are yacc/lex grammars actually portable? Truly portable too — usable in different threading contexts, for example.

You say they are declarative. My experience is admittedly very limited, but I would call them anything but declarative. There are declarative elements, but the actual payload of your code is very, very often imperative. (A lot of this is shaped by the API, imo).

I compare this to parser combinators (like parsec) and PEGs (like luapeg and rust-peg). I find these other options are more naturally side-effect free, both internally and externally.
Yup, and then you had no real history. And one big commit. Super useful, not.
I've observed something similar with suitcase handling at airports, where they are thrown around and piled up like it's typically done with bags of rice for example.
Many modern languages require programmers to know exactly what is stored in any location. This is done in the name of "safety", but is just dumb. Code that needs to know the types of absolutely everything is simply slow and requires enormous repetition (or a system of boilerplate generation such as the STL).
I am not a real programmer
> Not everyone who puts "we're a bunch of idiots" on their job ad is necessarily really a bunch of idiots.

Those companies deserve to be less desirable employers for workers who can be picky.
I'd rather live "next to" nuclear than coal. (Neither of these are built abutting residential neighborhoods, so "next to" is a bit of a fallacy.)
Using GitHub Webhooks to rebuild static web sites
Not necessarily, if during the time you wait the energy companies build more coal power stations. Which they planned to do, despite it being obvious how bad at an idea that was.

Happened over the last years often in cooperation with cities, which now have the problem of being stuck with polluting coal power stations that are not even profitable anymore. Contracts are often laid out in a manner that the cities have to shoulder the load. My sympathy is limited, they could have listened to the advocates of green energy who predicted that.

Anyway, deconstructing those new coal power stations and trying to help the affected cities and regions would raise the price of moving to green energy later. I'm not sure that would be completely offset by the lower prices and technological improvements one can expect to see each year.
I agree with those who said they prefer git's "clean" commit history.
Obviously I'm biased in the other direction (and in another country), but this is interesting to me.

I've always taken the ML stamp from universities as a visible sign that you're a newbie, if not purely because those qualifications haven't been around for a sufficiently long time, so its basically a signal when you've got one that you must be just starting out.
I did not intend it that way. They handle something on the order of thousands of packages per shift. They aren't putting in extra work to be rough with even most of them.
podman uses buildah to implement "build a container like Docker" functionality... what aspect of that is difficult to understand?

That functionality probably wouldn't be necessary at all if Docker didn't pollute the common understanding of containers in the first place.
Regardless of who the blame should land on — I don't have a strongly held opinion about that — the point remains that HTTP1.1 is a super old, well understood, relatively simple protocol that everyone has done correctly for years. In comparison, HTTP2 is the new, more complex thing and it's understandable there are growing pains and incompatibilities. I just don't want to debug those issues in something that worked great for me on HTTP1.1.
Because the adults didn't learn when they were impressionable children?
I'm curious too.
You mind sharing your data?

AFAIK what proponents of the German „Energiewende“ are often referring to are sometimes just superficial headlines or positive datapoints cherry picked out of a study that itself draws negative conclusions or fails to come to a postive result.

The most prominent in the last years were those PR stunts, that claimed Germany is exporting more energy than it is consuming. Which frankly adds injury to insult. Because the only reason Germany is doing that is that otherwise its energy grid would collapse.

Renewables (in Germany) produce energy in fluctuating rates and aren‘t suited to serve the base load. Excess energy can’t be saved so it has to be (by law) dumped somewhere, which usually means our neighbor countries. They in return, being annoyed by repeatedly having their grid brought on the brink of collapse by us started to install equipment on their borders to basically „emergency stop“ these shenanigans and cut-off our grid if they have to.

Apart from the diplomatic „upside“ another side-effect said PR stunt is spin-doctoring is the fact that everytime we have to dump energy the prices go down. They even go negative. That sounds nice, but none of the German consumers will get these prices on their energy bill (if they did, they might increase consumption in those times, alleviating the grid’s pain...).

It effectively means, that Germany pays other countries to take their (heavily tax-payer funded) excess energy.
Which alas, gives us said PR stunt.

Anyways, I honestly would be interested in your data that proves the „surpassing [of] any goals so far“.
I have no idea why such articles get posted to HN. Is the Guardian desperate?
As a principle secure things should pay attention to details and follow best practice. For me,I'm more concerned about lack of kdf and rng.
But it all depends on how the program treats the data after decryption and how your password db is stored and transported. You have to also keep in mind that users keep other secrets as well in a password manager,not just passwords. You're giving the public a secure secret storage mechanism,you should follow best practices because you don't know exactly what type of attackers your users face ,what type of specific data/creds they store in it or how they transport it.
https://www.broadcom.com/company/news/product-releases/23021...

That is certainly "military grade".
Is there a video of the game where AI lost?
I rewrite history (not in the upstream) every day, multiple times a day. I do it to split commits. I do it to squash commits. I do it to reorder commits. I do it to make my commits easier to review by whoever is doing code reviews for me. I do it make my commits logical: bug fixes get their own commits, features get their own commits, tests get their own commits if that's what the upstream wants, ...

It's the only way to do things that yields useful history in the upstream. What is useful history in the upstream? It's history that others can read (linearly!) that is informative and makes sense and makes it easy to bisect, git blame, and so on, to find bugs, to understand changes in the smallest logical units.

This is impossible to do without rebasing.

If you find yourself copying changes to another clone to commit them one at a time, then you are rebasing, and you just didn't know it.

History in the upstream is sacred. Unpushed history is absolutely not.
Or instead acting like personal PR is your only contribution to the species, you can just say reasonable things that make sense including things like "I don't know" on a circumstantial basis using your human brain and social instincts.
Is your employer hiring?
In the distant future, I might be able to just get out of my car and walk away to let the robots do their thing.
But in the near future, any time saving is negated by standing there watching the robo-magic :)
Open Shading Language (from Sony) uses it to parse the, umm, shading language.

Pixie (the Renderman renderer) uses two or three bison grammars.

I personally like SQLite's lemon parser generator for my grammar poking arounding when I'm not messing with my C++ Earley parser implementation -- which I can never seem to get working properly with empty rules since the papers on the subject are less than clear.

But I'm probably a bit of a strange one in that I'll spend days getting a random grammar working then drop it for some shiny new thing to play with.
You pay a premium for that high value declaration which means what you are really paying is a premium to have your package not kicked. This is like the airlines who have unbundled seat size and the right to bring a carry-on.
It's a myth that civilian GPS is less precise than military. A modern, dual-frequency or augmented civilian GPS receiver is just as precise as a military GPS.

P may have once stood for precise, but now days the main advantage of the encrypted, military P signal is that it prevents spoofing attacks.
Waiving your rights is about removing future options. Since you're agreeing not to do something. That is not an obligation and the requirement do something. Not the inability to do something. One is an action the other is inaction.

If you say I agree to go to arbitration that is an obligation. If you say I will never sue and must always go to arbitration that is final. That is removing the option to sue and adding in an obligation.
Agreed. This is probably the most insane idea yet of government implementation of technology scam. Bet the people behind it get reelected which is the most astonishing thing to me.
Well, to be fair, the title doesn't say he wrote it. Just that he's behind it. Which to me doesn't have any clear or even vague meaning. If someone asked, I couldn't tell them. But it is vaguely arguably true, I think. I've seen much worse.
Did they control for the 100 other reasons why this might have happened?
It's using Fossil 2.7 for everything.
At first, I thought this was a joke, but then I read it and I still think it's a joke. There's all this effort put into fixing the symptoms. How about putting the effort into fixing the cause?

It seems to me that capitalism is failing us when it comes to cures. I get it. It's many times more profitable to find a solution for the symptoms but society should be looking for a fix to the problem.

Now that I think about it's maddening rather than funny.
It's probably safe to conclude that they don't, but you don't need COMSEC crypto keys to achieve "military-grade" accuracy down to 10cm either, i.e. differential GPS[1].

[1] https://www.effective-solutions.co.uk/beacons.html
Monodevelop has become very polished, its kind of re-branded as Visual Studio for Mac. Its a decent free IDE.

RIDER from JetBrains is fantastic IDE on all platforms.

VSCode is a good editor, when you want to write smaller (single file) C#/F# programs.

LinqPad is only for Windows but is nice companion editor to riff off small methods/functions or probing LINQ etc.
Similar story happened in school as ta, if a student did something bad or annoyed the TAs, they would Target the student and give a bad or zero grade on problems that can not give a back/white answer. This is usually on marking final exams because few students will review the marking and thus few if any consequences will happen.
No, it rolls over to 1901. time_t is a signed value, and 2038 is when it rolls over from 2³¹ - 1 to -2³¹. That would be 2 billion seconds before 1970, or 1901.
> Every one of them said that they (and all of their coworkers) handle all packages on a scale ranging from rough to purposefully damaging. One guy told me how he targets boxes marked Fragile for extra abuse when he's exhausted/angry/having a bad day.

But it does look like at least some are worth the extra effort to damage?
Hand-coding {object code, codecs, parsers, ...} is a disaster. That's why compilers exist. It's also why code generators exist. That's what lex/yacc (flex/bison) are: code generators specialized for generating parsers. They are not compiler-compilers, but tools used in the construction of compilers (and other things that aren't compilers too).
I assume they're dividing his "almost 3 million edits" by the "more than 5.7 million articles" on en.wp.

It's obviously extremely wrong, but their incentives aren't for being sticklers on accuracy. It's on being sensational.
This kind of garbage needs to be downvoted...

This was a failure on Deep Mind's part, not a success. The bot is not given remotely the same context as a person. It will lose in that context.

You can make a fighting game AI without deep mind that will parry every attack and punish with a perfect combo and always beat humans because of 0 reaction time and 0 execution flaws. Big whoop.

This is irritating clickbait.
Git was more popular for C, Perl, and Ruby. Mercurial was more popular for Java and Python. It was far ahead on Windows. Google and Atlassian bet on Mercurial well after GitHub existed. The idea that only one could win would have been strange to a lot of people at the time.
"China's military will impact the nature and breadth of the decline."

care to elaborate?
I always liked C#. It's probably the nicest language to work with. Worked with golang recently a bit and its like going back to the 90s or 80s. It's just a little late with all the open sourcing, I just hope besides enterprise devs, folks would see the value also - most revs I've spoken to that dont like it havent actually even touched C#.
You would discover business proprietary information that FedEx and UPS certainly must be collecting every day in their supply chains already today.
I’ve always liked C#. But official support outside Windows is only very recent.

And .NET is still very much Microsoft’s baby. Unlike an independent language like C or JS or Rust, MS could pull the rug out at any time.

Yes, Mono. But Mono is an unofficial port of a moving target. They have no control over the direction of .NET.
Greenwich Village has a radical history that stretches back many decades prior to when when the folkies took up residence. At one time some artists decided to secede from the USA and declared Greenwich Village to be “The Free and Independent Republic of Washington Square” [0]. Apparently there's a staircase inside the arch in Washington Square and you can climb to the top but I've never seen it opened to the public as opposed to the Soldiers' and Sailors' arch in Grand Army Plaza (Brooklyn) which is occasionally open to the public (usually during the annual Open House New York).

[0] https://ny.curbed.com/2017/1/24/14372316/greenwich-village-w...
Yeah, that makes sense. But it’s still wrong!
Merge commits stop being interesting when you have thousands of people working on a codebase and you have tens or hundreds of thousands of branches. At that point clean, linear history is much, much simpler to understand.
FWIW I had a 2001 Mazda MX-5 for 16 years/268K miles. Wrecked it unfortunately, but got a 2017 model to replace it.

It was getting more expensive to keep up year after year, but parts were available and never had any major issues with it.
CBS News. I don't even really notice sensationalized or misleading headlines so much these days, until they're pointed out to me.

Perhaps this guy's contribution count represents one-third of a top-contributors list, and the author conflated that with "all of Wikipedia" out of laziness? Curious that "Steven Pruitt" (or any usernames that look like they might be owned by him) doesn't even show up on any of Wikipedia's own lists:

https://en.wikipedia.org/wiki/Wikipedia:List_of_Wikipedians_...

https://en.wikipedia.org/wiki/Wikipedia:List_of_Wikipedians_...
this is good news! In the electric sector, this is basically already the status quo - new solar and wind is so cheap compared to everything else.
I recently looked into them. You can have up to 5 on their premium plan. But these are still "normal" debit cards with no limits beyond the funding of your account.

The service that privacy.com offers is different in that it allows you to control very precisely what kind of charges are allowed on any of your virtual cards (and allows you to have more than five). If I used a particular card only for Spotify, I could put a $10/month limit on it, for example. This is more akin to the one-time card offering, but it's not quite the same since it doesn't support recurring payments.

On that note: if anyone is aware of a service like privacy.com available to users in mainland Europe, I'd be very interested to hear about it.
Not to mention all the TVs damaged by disappointed bike thieves.
Sorry, pal, you don't get to dictate the terms of this conversation.
Goroutines are not threads:
https://rcoh.me/posts/why-you-can-have-a-million-go-routines...
Actually, to follow up on that, there've been a few articles about him, and on Quora[0], the author of a WaPo article[1] says "Of the site's nearly 5.7 million pages, Pruitt has edited a staggering one third."

If this guy is correct, the edits are sufficiently spread across different articles for him to have touched 1/3 of them. Still obviously not the same as writing, but it puts the headline in a slightly less absurd light.

[0] https://www.quora.com/Who-is-Ser-Amantio-di-Nicolao-of-Wikip...

[1] https://www.washingtonpost.com/lifestyle/magazine/meet-the-m...
See, if you get a choice, at least you got the choice. When you get no choice in the matter, then the tool is opinionated, and forces its developers' choices on you. Sometimes that's nice, but mostly that's when you can live with those choices. Clean, linear history is absolutely the best choice for any sufficiently large project, and never the wrong choice for small projects, so being forced to do merge workflows is really suboptimal.
My daily driver is a 1994 BMW 525i; 253,000 miles. My dad bought it new. Parts are very easy to come by. It is not fun to drive, but serves its purpose. I vastly prefer our 2007 Mercury Mariner (all wheel drive). I'll never sell either. Just park it in the field for when the kids get older.
I have an '01 Tundra that just keeps going. No kind words for the appearance and people use me as a moving service, but I love the damn thing.
It's hard to say how much anything actually costs in aviation because no one pays list price and are outfitted per the buyers' specs (why airlines all have their own in cabin look). Discounts are usually north of 50% off "list". Economy style seats don't have a lot going on and definitely don't cost the same as a Lambo.

You can even buy your own if you want to be uncomfortable in your own home:

http://usedairlineseats.com/product/set-of-coach-class-tripl...
I would encourage one to not read this link.

I was waiting to get to the place in the article where they acknowledge that Germany could have kept their 50 TWh of nuclear online and cut coal by the same amount - a reduction of 20% - but I guess that wouldn't fit in to the narrative they're trying to spin, because they completely ignored der Elefant in das Zimmer.
It was live streamed, you can watch it here: https://www.youtube.com/watch?v=cUTMhmVh1qs&t=2h31m22s

Tthe first 2 and a half hours goes over the other 10 matches, which weren't played live on stream.
To succeed with large project you generally have to develop competence in-house first to know what you are doing. Today it is quite unpopular, at least in western countries, for the government to do that. When things become more accessible, it doesn't necessarily mean they become simpler. In fact there is often added complexity. It isn't just nuclear power plants, but all kinds of infrastructure.
Fossil's design and implementation are indeed admirable. Its insistence on merges is not.
Agreeing so much with 1) the days you don't know what to do next despite having an endless list of tasks and projects to work on ranging from fixing a typo on the website to fixing a long-lasting bug only visible to you and 2) marketing... gosh this is a world I did not know much about, and still don't, but it's fascinating to see what people react to... Quite surprising.
https://en.wikipedia.org/wiki/Thread_(computing)#M:N_(hybrid...