skysight-inc/HackerNews huggingface dataset:
I was referring way more the prevalence of those type of comments through education. I don't think participation rates are very different than other countries. From my experience (I have a rather weird educational path, so I have anecdotal data on engineering, math & physics undergraduate courses).

Engineering and physics have similar ratios around 10% to 20%, while maths is way higher around 50/50 (the rates for the classes I was taking were actually higher, but that's another story). Chemistry here also is mostly women.

The only hypothesis that fits my (admittedly anecdotal) experience, is that there's quite a difference in the interests of men and women, and that the country differences in enrollment are more a symptom of how the curricula are structured.

For example, Spain does not have CS degrees structured like in the anglosphere, so depending the subfield you intend to work on, you should go to engineering instead. Most of the women I met at engineering would have chosen a CS degree over engineering if there was one. I have seen stark differences too in physics, were the majority of women there wanted to pursue pure theoretical physics with pretty much none of them showing interest in applied physics.
Oh, I know. Our GDP does it. If US can spend $80 Billion on lottery tickets imagine what we can spend to win a war. Makes you think more than twice before poking the bear.
Unicode programming, with examples in C
they put a list of the projects to be funded

... which is not legally binding.

Seriously, the VTA is the absolute poster child for worst return on infrastructure investment in USA history. Its operating costs (alone!) are 85% subsidized with nothing going to fixed costs.
I'm also from same country, and I have seen both genders call other stupid when I was a teen.

I have very rarely encountered any hostility towards women in professional environment though.

I you hear that a lot in your environemnt - maybe its time to speak up against it and/or change it for something better.
It would be really interesting to see a follow-up 17(!) years later.
I remember giving Emacs a serious go 5 years ago. I really wanted to like it but the archaic mode switches[1] were just too much when you are used to the convenience of Ctrl+C and Ctrl+V (I'll call these "modern shortcuts").

I've tried using ErgoEmacs[2] but what I've learned was that it doesn't really play nicely with all the other extensions.

It's a shame because I've wanted to find something a bit more powerful than nano for config and code updates on remote machines.

[1] http://ergoemacs.org/emacs/emacs_kb_shortcuts_pain.html

[2] https://ergoemacs.github.io/
Ask HN: What's the name of this HTML copy and paste app?
A year or so ago on HN I remember seeing a post that was a website where you could paste anything and it would replicate the styles from the source web page.

It was touted as a way for designers to share examples of designs on other websites.

It was pretty impressive, and I can't seem to find it anywhere now. Forgot the name and can't find the link.

Anyone know what I'm talking about?
everyone running chrome on macs
I agree with you until you bring up gender. Girls also talk about how boys are idiots. Women's remarks can also bring down men or uplift them. Boys also think they're not good enough. Where I'm from (North-West Europe), I can't say there's a black and white difference between boys' and girls' behaviour or perceived academic ability. It's just that (especially young) women seem more susceptible to social pressure and the need to fit in, especially with other women.

Teens' dreams and ideas often get shot down by peers, parents and even teachers. I'm not defending bad behaviour; I just think that pointing at a few loudmouthed boys and claiming that there's the reason for the gap is pretty disingenuous. Certainly the majority of women I know would not give a lack of intelligence as the reason they didn't go to study CS.
I for one, am grateful. The world has changed massively the last 30 years and it’s time for international legislation to catch up :) Curious to see what the final implementation will look like.
There's a 2015 edition as well: https://anders.unix.se/2015/12/10/screenshots-from-developer...
This is a nice talk, in two parts.

First, Daniel Ingalls (Sr), the Harvard Sanskritist, gives a talk on (IIRC) some aspects of Sanskrit, the Mahabharata, and some reasons why he was trying to use computers for his task. I found it a reasonably good and impressively concise summary, though not sure how it appears to someone who doesn't know Sanskrit — it is clear from the video that he loses the audience at some point (late in his talk) and you get some idea of why he had a reputation for running hard classes and turning out strong students!

Then his son, a young Dan Ingalls, gives a talk on his work: OCR for the Devanagari script, specifically for scanned images of the critical edition of the Mahabharata (produced by Sukthankar and team at BORI in Pune). He goes into detail on how he went about the task; as a programmer I found this talk inspiring!
But that has no beneficial effect unless you limit access to those residences to people who work there (including evicting them upon job change) and limit jobs to those who live locally. Neither is legal.
These two actually coexist happily, somehow. Boys are simultaneously assumed prone to cheating or making shortcuts, and always up to no good and better at math etc. Girls are simultaneously rule-abiding, smart and hard-working, but also a bit dumber and not for math and lazy princesses.

Also, girls are more social and better at relationships, but also cant have by gender good relationship among them as they are destined to be basically bitches.

Boys have totally better relationships among them, but they of course just cant be without physically bullying each other which somehow does not suggest that something is wrong with relationships.
Show HN: A terminal TV show tracker
For most consumer PCs, I have no problem with most things being soldered on like RAM, CPU, etc...but soldering on the storage is unforgiveable. And it has nothing to do with being able to upgrade it, but rather it's about the problems this introduces (and the options it limits) when it comes to data recovery when your machine inevitably @#$@#s up.
Which part of the specification does this violate?
As far as I can tell, this Mac Pro's specs are on par with 2017 PC workstations.
https://www.google.com/amp/s/amp.theguardian.com/uk-news/201...
In my experience, the people that latch onto self help gurus, preachers of weird beliefs, and peddlers of odd lifestyles, are usually graduates of college. They were taught to be skeptics by how education is done now. So they reject traditional things and yearn for yogis and the like.
Tim from Apple is paying money to its PR department that gives away money to "green" organizations exactly to be able not to do anything that would really matter for our planet (and would hurt Apple income). Imagine Tim from Apple shows up on the stage and tells people that there is no good reason to switch to the new phone model every 2 years. It will not happen.

I have many "progressive", "pro-eco" friends who just can't understand I am still using that old crappy Nexus 5X although I could afford a new, fancier phone (and my cell phone operator would subsidize it partly and nice person from call center would add another 4 GB of free internet to existing 15, as if I could ever use so much using cell phone).

They also cannot understand that I am still driving my 10 years old car instead of leasing/buying a new car which would be more "eco friendly". I am trying to explain them that cars are not growing on trees and producing a new one is not really that environment friendly and that during past 10 years cars were not improved so much in terms of CO2 emission to justify the change (giving recent car makers test scandals it is hard to say if they improved at all. Even if I could buy electric car, which is not really an option in my country due to lack of infrastructure and my usecase - I don't drive in the city, only long travels - still producing a new car emits more CO2 than my car will emit during its remaining lifetime).

Same with driving to work (they buy those new cars for a reason, not to sit in a tram among those sweating people), same with using electric laundry dries (it is so unfashionable to air-dry laundry at home), etc.

People love to talk about being pro-eco and taking actions that make them feel good, but they can't face the truth that their consumption habits change would be infinitely more beneficial.
If you're targeting Apple platforms with your builds, just how does a Threadripper workstation address the problem? (And don't say Hackintosh...)
MazuCC: A minimalist C compiler with x86_64 code generation
That does not comply with the official (OSI) definition of open source and is a misuse of the term. It's a pity that people get away with this and cause this kind of confusion.
GateHub Preliminary Statement (Of Hack)
Viewable on mobile now.
What's interesting here is that the VLC team (partially) implemented what Alex Ionescu called for in the conclusion of his SSTIC 2019 keynote "Pay for the fix, not for the bug":

https://www.sstic.org/2019/presentation/keynote_2019/

They did pay for the bugs, but with "large extra-bonuses for fixes". Maybe this will pave the road to a different approach.
If the ticket has an expected positive return for the buyer, then the state must be losing money.
Yay! An old emacs screenshot and an early vim. I'm satisfied. Brian Kernighan's is the most beautiful though. Such purity
Sure but how much is that market growing?
It's a talk by two Daniels, a father and a son:

https://en.wikipedia.org/wiki/Daniel_H._H._Ingalls_Sr.

and

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

The later: "is a pioneer of object-oriented computer programming and the principal architect, designer and implementer of five generations of Smalltalk environments. He designed the bytecoded virtual machine that made Smalltalk practical in 1976. He also invented bit blit, the general-purpose graphical operation that underlies most bitmap graphics systems today, and pop-up menus. He designed the generalizations of BitBlt to arbitrary color depth, with built-in scaling, rotation, and anti-aliasing."

As Dan Sr. talks about the research on how the epics were made and recited, he refers, around the 12th minute, to Milman Parry and Albert Lord, and we're now lucky that there is Milman Parry Collection of Oral Literature On-Line:

https://mpc.chs.harvard.edu/

Although most of it is in too "raw" state to be used by the researchers, who probably depend on the more processed editions.
You comment is anything but positive, and yet you have written it.

The last paragraph ("Thanks, for being today’s example. Now can you please make the effort next time?") is downright nasty.

My impression from people like you is that your kind loves writing toxic comments but thinks that covering them with a fig leaf of a supposedly 'good' cause and high moral ground somehow makes that acceptable.
We have the same here in Latvia. There's an integration process available also for private services that essentially has the following workflow:

1) You redirect the user to the state 'identity service' with a specific token;

2) the user authorises either with their gov't ID card chip (less commonly used since most users don't have the chip reader) or with the bank of their choice (not all banks but most of the major ones are part of that scheme) for authentication;

3) the user gets a prompt like "company ABCD wants to get obtain the following data : Name, legal ID number" and can authenticate as normally;

4) you (as the service provider) get a response with your token, that legal ID number, and who authenticated that ID.

It seems quite reasonable - it provides a reasonably secure way of verifying someone's identity (preventing e.g. the SIM-porting impersonation scams that seem to be a problem in USA) without giving anyone the ability to impersonate someone (the ID numbers aren't considered secret like USA social security numbers - they're PII so there are restrictions in storing/using them, but knowing them isn't sufficient to so anything).
In practice i haven't seen any application to gracefully handle out of memory situations. Even back in Windows 3.x days when running out of memory was common, most applications simply hanged or crashed (which also took the entire GUI with them) and those that didn't often had a "no memory, kthxbye" dialog that shut down the application. A very few rare cases would try to display some "sorry, no memory, close some programs and try again" dialog but even those were hit and miss, depending on the situation.

Once 32bit hardware-based virtual memory entered the picture, every single application would just assume you have endless RAM - memory checks are reserved for "common cases" like trying to create a 100000x100000 image in a (32bit) image editor.

The reason for all that is simple: out of memory situations are stupidly and increasingly rare and in most cases where they can happen there isn't much you can do (e.g. what would you do if you run out of memory while making the fourth button in a toolbar?) and really in the 99% of the cases there might only be five people in the entire universe that will encounter such a case (two of them will tweet about it though and amass a lot of "lol, those garbage developers" retweets) so littering your codebase to keep those five people (and their Twitter followers) happy is not worth the effort. I mean, are you really going to put a "run out of memory" check after every toolbar button allocation? And what are you going to do if that fails? What can you do?

AFAIK some modern languages nowadays even assume memory allocations wont fail (and if they do they just terminate).
> "The license must not place restrictions on other software that is distributed along with the licensed software. For example, the license must not insist that all other programs distributed on the same medium must be open-source software.", the GNU/GPL don't qualify as "open source" software.

May I suggest you first read the license before jumping to the conclusion that the OSI is incompetent at reviewing licenses?

5. Conveying Modified Source Versions.

A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
Love hearing stories like this where people gained because of some loophole. Does anyone know if there is a compilation somewhere of these?

See also:

https://www.businessinsider.com/us-mint-ends-the-dollar-coin...
The OS will close the file handles and any database worth its salt should also abort the transaction automatically when the connection to it is lost before the transaction is finished.
At least with the MacBooks, you do have the option to downgrade back to a previous version of the OS, if you find the performance of the new one not up to par. So why not go back to the version of the OS on your Air that you were once happy with?

For the record, I have the same rMBP 2012 model that the person you're replying to talked about, and it still runs great. But I'm typing this reply to you on a MacBook Air from 2010, running macOS 10.12 Sierra, in Chrome. Still works surprisingly well...
Russia: Well-known Moscow reporter arrested on dubious drug charge
They are employed, though. They're just under employed.

These definitions aren't just made up to make the UK look good, they're international definitions of employment.
Like, every part? It doesn't actually allocate the space requested, it doesn't indicate failure by returning NULL (or by any other reliable means for that matter)...
You can use CUA mode: https://www.emacswiki.org/emacs/CuaMode

I also highly recommend Spacemacs. If VI isn't your thing, it is still great to use it, just set it up in Holy mode using Ivy.

What it adds (on top of a great default config), is bindings which start with M-m (that's Alt+m). For almost everything. Like saving your file is M-m f s (that's Alt+m release, f release, s release).
I have yet to see a TDD piece describe how to handle the situation where a current algorithm must be replaced.

Consider Martin's "primes" example, at http://www.butunclebob.com/ArticleS.UncleBob.ThePrimeFactors... . Martin is rather chuffed that the implementation takes only 3 lines of code:

public class PrimeFactors {
public static List<Integer> generate(int n) {
List<Integer> primes = new ArrayList<Integer>();

for (int candidate = 2; n > 1; candidate++)
for (; n%candidate == 0; n/=candidate)
primes.add(candidate);

return primes;
}
}

Where in the Red-Green-Factor do you add tests to verify acceptable performance across the applicability domain?

For example, Java's maximum integer value is 2147483647, which is also a prime. The above algorithm tests every integer >= 2 before determining that. Which is slow.

When do you add a test that PrimeFactors.generate(2147483647) correctly returns the 1-element List containing 2147483647, and with acceptable performance?

If you find that the performance is too slow, how do you refactor the existing code to handle it?

This linked-to page says: "Before touching the production code, we do a single automated test. Next, we add the simplest possible code which makes it pass."

So, I add 2147483647 as the single test, which fails. What next?

Obviously there are many well-known ways to make that code performant. However, all of them would require substantial changes the code, which surely should entail many additional tests, yes?

And just what is the 'simplest possible code to make it pass'?
It's not as ground-breaking as the 'foam' in the title implies though:

> a panel of armor made from rolled steel with the same stopping power would weigh at least twice as much as the composite armor tested in this study
I used to run flashy DEs years ago. Enlightenment for all those who remember, with all the bells and whistles turned on.

As years went by, I started to remove everything. I now use an automatic tiling window manager with no borders. I actively disable all animations, and I use colors much more thoughtfully (color yes, but only where it is needed), so that by default my laptop looks a lot more like those old screenshots than a today colorful tablet.

I'm now quite pedantic on how text should be rendered the way _I_ want, and it should be the same _everywhere_.

So in a sense, I see why the current look is attractive and my younger-self would approve, but in retrospective the bland-but-consistent look is what I eventually moved on to by choice for a lot of reasons.

The current UI trend in my mind is considerably worse from an UI perspective than what Windows 3.1/95 (and same-era DEs) would offer.
So, if I want to buy a bottle of water in this bold new future, it will have to be a glass bottle?
As opposed to being stored in Google/Facebook's databases? I don't know if blockchain is the answer, but I would prefer not to trust any of these large corporations and use a decentralized identity system where no third-party has control of my identity information.
And that is the problem.

It has hit the plateau. Ideas with value have already been invented. You have hammers powerful than ever, but what are problems you can hit with it? That is the hard part.

Before we are finding more meaningful problems to tackle, keep inventing hammers doesn't make too much of sense, it is just waste of money.

Maybe the future of IT will be to proven its usefulness solving problems that are hard before the revolution of IT, and are still hard after that. Like cheaper/greener energy, reliable/faster transportation, more accessible healthcare and etc.
Google Go: Fischer Price’s My First Programming Language
To be honest my experience developing for Apple has been pretty unambiguously bad. For example, for (at least) 6 months there was a bug where users couldn't submit an App Store review unless they had a "sufficiently distinct username", but instead of notifying the user in any way to change their username the review just wouldn't submit. When I reported to Apple Support that multiple users had told me they were unable to submit reviews, Apple shunted me around from department to department and generally wasted a vast amount of my time with each department claiming it was another department's issue. To my knowledge this bug was never publicly disclosed, even though it affected every app on the store (and especially small apps that rely entirely on reviews to be noticed by new customers). And (at least in my interactions with them) Apple didn't seem to care. It sounds like your experience with them has been different, which is great, but I can't say I felt they were enabling me to build the best app I can.
Silicon Valley Wins Big with Tax Break Aimed at Small Businesses
Here it was 15 years later. https://anders.unix.se/2015/12/10/screenshots-from-developer...
Curated List of Open-Source Typefaces
Sorry, this reminds me of people who go to Upwork to get a Facebook clone written in a weekend for $600.

Writing a rendering engine for CSS and an interpreter for javascript are not trivial. Plus you have to make them secure. And deal with all sorts of edge cases. And that’s before we even get to the HTTP stack, cookie and local storage handling, etc. Let alone expected browser amenities like bookmarks and (secure) extensions.

And then make it cross-platform, including supporting older versions of a bunch of operating systems, and all sorts of hardware configurations, several dozen languages, RTL input...
Get a Mac-Mini, 8-core with 64GB Ram, and an eGPU. You will have no problem hitting that $3500 target, make it $4000 for a fantastic eGPU.

Also, why are you refusing to look at the iMac Pro? Best machine I ever had.
"Still just a browser window and a ton of terminals hiding behind them." -Rasmus Lerdorf

Yep :)
The code looks clean and features handwritten lexer and parser in C. So there seems to be no dependency on third party tools such as Bison/YACC.
For sure #4. Because if you never launched anything then it will almost for sure not work the first time around. It's a skill like any other skill and you need a few tries to figure things out.

A caveat: I took an "easy" job but it turned out it was the job from Hell. Because "easy" job was surrounded by people that didn't know what they were doing. So a truly easy job might be one where everyone is overqualified and you only need to do your own thing (as opposed to expending a lot of energy explaining to people how to do the right thing, all the time, because they just don't get it).
Are you saying there's no feedback in the sense that a website that consumes more resources costs more to the owner? I would have thought there is.
Huawei Registers “Hongmeng” OS Trademark Across the World
Torpedowaffenplatz Hexengrund: Abandoned Torpedo Station in the Bay of Gdansk
I just wonder, do you have to think very high about yourself to play such a game and enjoy it? Or very low? I just can not imagine myself feeling good about this.

Of course, the feeling dumbs a bit: compare the feelings you had after using your first illegally copied floppy disk or mp3 track and the later ones, but still.
Tesla, Facing Setbacks and Skeptics, Tries to Get Back on Course