jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Well, I wouldn't advocate using Windows in such a setting...

I/O layer overhead in Windows is considerable. As any Windows kernel driver developer knows, passing IRPs (I/O request packets) through a long stack does not come for free. Not just drivers for filesystems, networking stacks, etc. and devices, but there are usually also filter drivers. IRPs go through the stack and then bubble back up.

Starting threads and especially processes is also rather sluggish. As is opening files.

There's no completely unified I/O API in Windows. You can't consider SOCKETs (partially userland objects!) as I/O subsystem HANDLEs in all scenarios and anonymous pipes for process stdin/stdout redirection are always synchronous (no "overlapped I/O" or IOCP possible).

For compute Windows is fine, all this overhead doesn't matter much. But I don't understand why some insist using Windows as a server.

But when someone pays me for making Windows dance, so be it. :-) You can usually work around most issues with some creativity and a lot of working hours.
I found your music very interesting!

I 'm not sure if the criterion you 're suggesting is good though. For example i may have found some slight influence from stravinsky in your track, and i thought well of it. The fact that you try to exclude the Glass influence is kind of telling about how influential he is going to be in the future. Having a distinct style doesn't make one a great composer.
While there's a correlation between dynamic scoping and explicit "this", it isn't universal: Ruby being the obvious exception.
seriously about time ... now if they only let you set your outgoing phone number so i could really convert just to one.
Radiation is cumulative. Saying that you will absorb more radiation in flight is not a justification for accepting radiation from another source. You will still absorb more total radiation. It's a lot easier to avoid the scanner, than it is to find an alternate mode of transportation across long distances.
The only thing I do different is using FileZilla for my FTP client. Oh and Dropbox for working on HTML/CSS front-end stuff so team members can see changes in almost real time.
We actually have a very good idea how much damage x-rays and millimeter waves do to the human body, since we've been dealing with both technologically for many years.

Because x-rays are used in medical devices that have to be approved by the FDA, we've developed some very good ideas about what sort of doses are harmful and which aren't. The damage done by the x-ray scans used by the TSA do indeed produce damage, measured in Sieverts - a scale used by medical technicians, nuclear power plant operators, NASA, etc. Generally a dose of 1 Sievert all at once is enough to make you sick. Radiation expose is usually measured in milliSieverts and a person who doesn't do anything dangerous will usually receive a couple of milliSieverts a year just from the sun and the radioactive decay of things like the carbon in their body. Going through a TSA x-ray scanner will give you about a microSievert (or 1/1000 of a milliSievert) unless you do something like stop in the middle of the scanner and daydream. Because flying on a plane involves going higher with less atmospher to protect you from radiation from outer space, even short flights tend to cause you to rack up 10 microSieverts and longer flights will give you more. So even if you fly every day the excess dose you're getting from the machines is ignorable, and if you are flying every day its only increasing the amount of radiation you're getting by 10%.

As to millimeter waves, well, I'm not sure quite what mechanism they could possibly use to be dangerous, since they're less energetic than the visible light that we're exposed to every day. If you're inclined to worry about stuff like that, I'd recommend worrying more about fluorescent lights (where all the energy is concentrated in a few frequencies and which we're exposed to for long periods of time) or cell phones and wireless access points (which have about the same energy as the TSA devices, and which we're exposed to for long periods of time).
He asked multiple times if he was free to go. That's the typical question you ask to determine if you're under arrest or not. If you're not, they can't stop you from leaving.

It's distressing the amount of disarray the TSA is constantly in when it comes to it's own rules. This was the kicker.

"Michael J. Aguilar, chief of the TSA office in San Diego, called a news conference at the airport Monday afternoon to announce the probe. He said the investigation could lead to prosecution and civil penalties of up to $11,000.

"TSA agents had told Tyner on Saturday that he could be fined up to $10,000.

“That’s the old fine,” Aguilar said. “It has been increased."
The fix for that, if we're remembering the same article, was simply to have the card reader display junk output instead of "bad pin". The bad output could then be entered into the bank website three times, and then block the account from there too.
Your example was interesting. There are more laws protecting worker safety than there are laws protecting restaurant patrons.

For the purposes of covid I'm not sure if that is a black and white situation legally, at least in the U.S. Neither the rights of workers or patrons are spelled out as constitutional rights, because the constitution limits the government. This even kind of came up in the Supreme Court, which said that OSHA does not have the right to mandate vaccines in the name of workplace safety.

But doesn't the degree of danger and the trade-off involved in lockdowns matter? There's been a lot of mitigations against covid, some which make more sense than others as we've learned more, some that have costly effects - both financial and otherwise, especially for young people. Some look at the total count of 931k dead in the U.S. and want to do more. Some look at the same number as 1 out of 350 of the population, skewing old and unhealthy, and think we've done too much. We don't close restaurants for the flu, which kills tens of thousands of people.

I don't think this comes down to just a workplace safety issue. I think the degree of danger is quite important, and honest people have very different opinions of the risks and tradeoffs involved. The degree of danger and the mitigations required to make a difference in that danger are better known and quite different than two years ago. That is why there will be more and more calls to remove the existing mitigations.
It depends on the humidity. 25C at 50+% humidity feels pretty bad.
I recall that on some google-scanned books, there was some metadata from abbyy finereader. So that may be why.

Also, tesseract often needs to be configured.
If jail time > 12 months, sentence = prison else sentence = jail
Do you care about the data, or do you care about the fonts? These don't usually coincide.
I'd gotten tired of seeing the standard preso format of alternating cute/wacky Creative Commons images with stark, pithy blocks of Helvetica text, so I started exploring different approaches to presentations.

There are three "hacks" of a sort I've employed to try to make my talks more engaging, less clunky:

One is to just not use any slides. Show code, run demos, talk about what I'm actually doing on the machine during the talk. I type stuff at a shell prompt or into an editor (embiggen the fonts!) if I need Text on a Screen.

More often I use a simple enhanced-Textile -> HTML/CSS/JS app I wrote. Charcoal background, white text. It's sort of flakey about resizing text for screen rez, which makes it hard to reliably put a lot of text on a slide; this a bug that works for the power of good. I like that I can generate slides from notes, and quickly edit and reload.

My favorite, though also most time-consuming, approach is to hand-draw all the slides. (See http://vimeo.com/13163175 or http://vimeo.com/12993236).

Hand-drawing your slides also has an interesting technological side-effect: depending on what tools you use it becomes much harder to obsess over them and hack on them at the conference right up until you give the talk. I've been using Illustrator on my mac, but my laptops run Ubuntu and/or Win7, neither of which has Illustrator on it. I've done last-minute things in GIMP, but there's strong incentive to avoid that.

Aside form the visual look, a key aspect is duration. I like short talks. 20 minutes, 40 minutes tops. It's hard to compete with twitter, IRC back-channel, and an audience that has a million things they could be doing. Better to leave people wanting more. Generate enough interest to get people curious to learn more, and kick off some hallway discussions.
It's not easier. It's just easier than what we already have.
It's easy to build alternatives to file sharing. You can be as inventive as you want. DNS on the other hand is a standard. No matter how many alternatives you cook up to it, you have to replace to many things in too many places for them to work.

Either that, or simply install something at the client's place that bypasses the whole system. Works, but somehow I doubt DNS is so easy to replicate.
'Cept it won't be for long - as soon as a program is written that works like freenet but allows you to download songs like napster did, any teen-age kid will get their hands on it, and it will replace napster as the worlds most used program.
No, I have a CS background, my first languages were Java and Python. I only started looking into the math related to programming languages after Haskell. Do you have any examples of. Which syntax makes it unclear to you?

I think the uniformity of Lisp syntax makes it hard to scan and find the various parts I'm interested in. Especially the quote operators can be nefariously easy to gloss over...
The whole notion of 'freedom' is an artificial and very recent creation. We functioned fine as a society for so many millennia with slavery.
> It seems to me like protocols don't belong in the same directory as libraries for basic local file operations

They aren't. File is in core, net/http is in stdlib. FileUtils is in stdlib, but that's more about interaction with the filesystem than files themselves, and it's not necessary for every single ruby script the way File is.

For the most part, I think the core/stdlib separation is ok. What I take issue with is the namespace organisation, especially in stdlib. I'd rather see a deeper hierarchy that avoids stomping on the top-level namespace than what we've got now, but that's a lot of work to reorganise.
Sweet lord,
https://github.com/shurcooL/Conception-go/blob/master/main.g...
is nearly 9k lines long!

What a spaghetti. Is that the author or the language?
> I agree and have made that point before. Java tried to be a language for "enterprise programming", which tried to keep the language so simple that having lots of people wouldn't muck up your code.

Wind back 35 years or so and you could have said the exact same thing about COBOL.
Have you given Diigo.com a try?
no, that wouldn't make any sense
unfortunately no - he's trying desperately to make it work and grow without having much success.
Here's a link to the TechCrunch article on SlideSix
http://techcrunch.com/2008/12/30/slidesix-a-guerrilla-presen...

I've stated publicly that I think this will be the biggest open source ColdFusion project in terms of impact outside the community. I don't see any reason why it shouldn't run on either of the two open source CFML engines either.
This part was funny: "Google targets a specific list of schools, she added, and focuses on hiring candidates with a high college grade point average. All of this could be a factor that discriminates against minority groups."

"Minority", I suppose, must be read as "not white or Asian".
Stories like this underscore the caveats to the idea that determination is the most important (controllable) factor in startup success. I think it is, but the right strategy is often to abandon a bad or mediocre company to focus on one that can be great. Don't fall into the trap of determination for determination's sake.
See also "Ecological Fallacy": http://en.wikipedia.org/wiki/Ecological_fallacy

The famous example mentioned is W.S. Robinson's 1950 study of literacy among immigrants[1]. He found that states with higher populations of immigrants had higher literacy rates, but the average literacy rate among individual immigrants tended to be less than the average population. He concluded that immigrants must move to areas where the literacy rate was higher.

It's not too much of a stretch to make a similar argument for Silicon Valley as a whole or refute any individual startup's odd's of success as 1 in 20.

[1] http://ije.oxfordjournals.org/content/38/2/337.full
It has... a few million... lines of code?

What?

Linux has 30 million of C!

I'm speechless. I cannot fathom how & why.
> not everything can be learnt from books

I'd argue that you can't actually learn anything from reading. Mortimer Adler argues in "How to Read a Book" that you can only actually learn by action, which means doing something with what you read.
Why can this only use 13% of my ryzen 3600 processor? I thought the whole point of WASM was that it enabled high performance browser based stuff?

Is this application really hard to parallelize?
My examples are meant to illustrate the broken behavior, not be real-world code. I structured it this way to make the broken-ness more apparent, but I guarantee you "good code" runs into these problems.

But no other language I've used would work this way. hash[8] would be the same as hash[010] and hash[0x8], and distinct from hash['8']. In addition, if anybody told you that strings would be interpreted as integers, you'd expect that octal strings (which PHP obviously understands) would be interpreted as integers as well! Instead, only decimal formats are handled.

This pernicious confusion of datatypes in the name of convenience is exactly what makes writing correct PHP code so infuriating.

If you want to put the blame entirely on "bad PHP developers", I have some datetime and object-equality behaviors to discuss.
Hey maheswaran,

Showoff doesn't touch the body of the requests, so you'd need to use relative URLs, change the "domain" config variable each time you make a new showoff tunnel, or set up an unlimited account where you can choose a permanent subdomain like "myserv.showoff.io".
Looks fake. I made up a name and it happily gave me an email address. Recent searches look fabricated too.

Honeypot for business contacts/HN users?
Fortunately sites you create and 'showoff' don't need to use the showoff.io stylesheet :)
To bore you with more formal terms: All manipulations of a Rubik's cube form a group. And so do all the manipulations possible on a 2x2x2 Rubik's cube. And the 2x2x2 cube's group is a subgroup of the 3x3x3 cube's group, and there's a trivial homomorphism from the 3's group to the 2's group. That homomorphism is not an isomorphism.
No, I am not. I wrote, "Life is complicated."

Turn the issue around: how would you feel if Apple bent over backwards to help your partner fuck other people behind your back and leave no trace?

I don't know why I'm bothering to write this, because you seem resistant to the concept of moral subtlety, but I will anyway: Studies have been done that show that morally equivalent choices can be posed in ways that lead to people using different moral heuristics for making decisions and reliably making different choices.

People move through the world and leave traces of that movement. Where should device makers stand on the continuum between recording everything and distributing it to everyone and recording nothing (and erasing everything it possibly can) and making sure that no information about a user's actions can leak out.

Do you understand that this is not a binary choice? Do you understand that there are outcomes that you and I can agree to call good or bad that can result from making a decision anywhere along this continuum? Do you understand that there is no easy solution? Do you get it?
Ah, I sit corrected. I had made the erroneous assumption that the second core was and M4 not another M0+. Thanks!
A decade ago I paid $35/month for unlimited classes at my gym. I could only attend maximum of 2/week due to scheduling (I wasn't interested in every class). I thought that was an excellent deal back then.

So I can really see the appeal.
Given the 'about' section of their user says "you're all idiots" it seems reasonable to assume everything they say is either satire or an attempt at it.
> Compared to Northern Europe certainly. Housing quality in Portugal is a joke. It's like going back in time a 100 years compared to Northern Europe: (...)

Portuguese here, and a civil engineer to boot.

From your description, it sounds like the reason you found the houses you're commenting on to be reminiscent of going back in time 100 years is most likely because they were indeed over 100 years old, and/or illegal settlements that haven't received a inhabitability certificate ("certificado de habitação" for the portguese speakers among us).

The reference to the "illegal ghettos" sounds an awful lot like one of the still existing offshoots of the africa exodus, post-carnation revolution shanty towns that popped up during the 1970s during the massive influx of people from the newly independent former colonies. There are a few of those still standing, such as Lisbon's infamous Cova da Moura neighborhood, but a bunch of social housing neighborhoods were built to re-house similar shanty towns in the outskirts of Lisbon's and Porto's great metropolitan area since then, which are comprised of quick and cheap housing projects. Even though those houses are exceptionally cheap (you could purchase a 2-bedroom appartment in thr Quinta da Princesa neighborhood for around 20k€) they are also renowned for being extremely shoddy houses in extremely shoddy neighborhoods.
Is that guide online somewhere?
Edit: Found it :) https://allaboutberlin.com/guides/saving-money-germany
This. Forget about living rural if you don't have a reliable vehicle. People underestimate the driving involved, especially if you have kids.
I did that and DNT is there. I also don't remember enabling it intentionally.
Came here thinking this site had some sense of intellectuality and knowing proper news sources. Wrong call.
To offer my own experience, I sent them a question by email and I got an answer within 2 days. Also, forums like forum nokia and qt forums are also incredibly helpful and you get answers pretty fast.
What I am not sure is that the word 'hacker' is a useful word. There were other words widely used before the word hacker appeared: 'smart people', 'creative people', 'artists', 'scientists', 'mathematicians', 'engineers', 'polymaths' etc...

The word 'hacker' is a feel-good word for us programmers: we feel that we are more than just programmers, we are some kind of 'polymaths'. But the truth is that so are other smart people: noone should think that a very smart mathematicin, phyiscists, other engineers cannot be good in other disciplines. (And engineers especially were always a bit polymaths, because ergonomy, technical difficulties and business considerations always were there paralelly.) As it is with every successful essayists, pg's essays have some feel-good values. As I grow older I no more like the feel-good component of essays. I am not a hcker, I am an engineer, and I was that ever. This does not mean that I have to be totally idiot in every other disciplines, but being good at something requires lots of practice. People are called engineers because they practiced engineering a lot, people are called mathematicians because they practiced mathematics a lot, etc...
If somebody could be called a 'hacker' it is the caliber of somebody like von Neumann, but even him we call just a 'mathematician' (and we call Einstein 'just' a physicist). Why previous generations did not need the word 'hacker'? Why we suddenly need this word for no other reasons of feeling good?
Article says: "Many games, though not all, get detailed write ups. Computer programs turn data from box scores into full sentences that put the reader in the game. "

I have yet to find a game that has a write-up, even for top 25 games. Am I missing the link or something?

Because just automated stats doesn't seem that impressive or very AI.
>Also, more tangential, but this comment section might attract people who know the answer: any good resources for getting started on type systems more generally?

I like Philip Wadler's Programming Language Foundations in Agda: https://plfa.github.io/

>The original goal was to simply adapt Software Foundations, maintaining the same text but transposing the code from Coq to Agda. But it quickly became clear to me that after five years in the classroom I had my own ideas about how to present the material. They say you should never write a book unless you cannot not write the book, and I soon found that this was a book I could not not write.

I found Agda + PLFA was more approachable for me than Coq + Software Foundations.

(Edit: clarifying that I'm responding to the tangent.)
This looks awesome!

I'm currently in the process of making my MySQL database stream it's change-data events, and I feel the pain of stitching all the apps together to make it happen.

This seems to be a killer technology.
I enjoyed it, however I have something of a weakness for "cosmic horror" and the whole "mysteries beyond our understanding" thing that Lovecraft does.

It mostly holds up, but the proliferation of the themes explored by it and the memeification of Cthulu and the "Great Old Ones" does probably make it more tame than reading it without foreknowledge of the contents.

You can find most of Lovecraft's works (and some of his ghostwriting) as audiobooks on youtube if you want to give them a try [1].

[1] https://www.youtube.com/watch?v=XM9Z39D1yyI
Languages with tracing GC implementations also have value types, thus they would keep winning.

Top performance reference counting implementations are tracing GC in disguise.
Could you point me to some reasonably straightforward ways to do that? Thanks!
No problem! I'm glad it was helpful
Actually, there are binary numbers in the coq standard library. N is in the library NArith and Z is in the library ZArith. Both are binary.

Coq is not meant to be a language for computation. If you only use natural numbers to state properties like forall a b: nat, a + b = b + a there is nothing to unfold about them and no need to worry about inefficient computation.
> they whole problem here is that Hauwei and other state-sponsored Chinese firms are flooding the market with below-cost, compromising devices in order to give the Chinese government broad access to sensitive information [0]

Spying aside ( probably - just like US firms ) - isn't the real reason this is an issue at all is because Huawei actually has a technological lead.

Even this very biased article acknowledges that lead.
https://foreignpolicy.com/2019/10/12/huawei-china-5g-race-te...

To paint them as winning because they are 'flooding the market with below-cost' is
frankly xenophobic - note they have out innovated - not copied - you can't copy yourself a technological lead.

The US appears in panic - imagine a world where CISCO kit ( a company that has obligations to the US state ) isn't installed everywhere - rather some other countries stuff.

If you want to constrain China, then you have to accept the rules that constrain everyone. The time where the US can lord it over everyone ( for better or worse ) is coming to an end - just as the British empire came to an end.
This puts that insane Qannon theory and the kids who went missing under Trump's kids in cages program in an entirely new context...