jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I'm paid to write (valid, working) code. If I sit all month just thinking but no effects, I will be fired. Of course, thinking about what code to write is a big part, I've spent twoo weeks once not writing code and the result was changing one number from 4096 to 8192, which made one shitty iot device a little more stable, which was seen as a big success. So, I wrote 4 bytes/2weeks, most of it was thinking and finding what to change, but essentially it WAS writing code.
http://archive.is/cYeXZ
> You can also have lower RAM overhead per thread if you choose a smaller stack space.

No, this is about as low as it gets. As the author explained, "the kernel only allocates physical memory to a stack as the thread touches its pages, so the initial memory consumption of a thread in user space is actually only around 8kiB."

The smallest possible page size (on x86-64) is 4 KiB, and you can't share pages between thread stacks, [1] so you can't go below 4 KiB of physical memory usage per thread. I'm not exactly sure how the author got to 8 KiB; maybe they meant "for each userspace thread" rather than "memory used in userspace" and are counting kernel memory too. I'm pretty sure the kernel uses at least 4 KiB per userspace thread (for a stack of its own, among other overhead).

Green threads won't take you below 4 KiB either, for the same reason.

[1] Without some custom ABI that guards against stack overflow in a different way. Golang has a custom ABI (I'm not sure exactly if this is why), and interoperability with C suffers, so this isn't an approach I'd love for Rust.
What does the CEO's comp package look like this year?
FWIW, I'll fund single founders. I am one and my last investment was in one. All the angels who joined me in the round will also do it.
The actual software part that you interface with and concentrate on, yes, that part is definitely the part that I'm paying attention to when I'm using a computer.

The black or white or magnesium bezel around it? Not so much, keyboards and mice once again yes, but I hate apple keyboards / mice too (not because of build quality, but because of layout / design)
It certainly makes people read and write more. When I was a teen (and the Internet wasn't mainstream), most of my friends didn't write or type a single word that wasn't for school purposes. I think that was pretty typical.

Now? The average 13 year old seems to give the average Gen Y'er a run for their money on the keyboard skills, and they're pumping out all sorts of text. There's been an explosion in written communications between semi-literate types that would have been alien to us back in the early 90s.
That's interesting. Are there any recent benchmarks of Lua on Parrot v.s. LuaJIT? The only thing I could find was this from 2007 where it was ~2 orders of magnitude slower: http://www.nntp.perl.org/group/perl.perl6.internals/2007/09/...

The URL to the benchmark script was broken so I couldn't run it.

Don't get me wrong, I think Parrot's very neat. But I could see why compiler implementors would be sceptical of it since it's not feature complete, and seemingly not very optimized. So there's a lot of unknowns.
I give a lot of leeway to private companies, but there is something deeply concerning about Facebook and Twitter deciding what politicians are “acceptable”. Whether you like him or hate him, Donald Trump is a mainstream politician as evidenced by the tens of millions of votes he got.

And, there is a non-trvial chance he’d like to run for elected office again. But Twitter and Facebook and several companies seem to explicitly be saying, “no, we will not allow that.”

It’s not a power I want Jack Dorsey or Zuck to have.
Wonder if Google will respond similarly and remove it from Google Play Store for Android.
Sorry, I'm probably explaining myself poorly. I much prefer chat systems with PFS because it mitigates the blast radius of a key leak, I get that. What I'm saying is, if you store a message history that contains the plaintext that Mallory wants, and it's stored in the same way the identity key is, PFS doesn't get you much.

The attacker who has all your ciphertexts needs the decryption key to get the plaintext (which she wants). Now, with a PFS scheme the key gets deleted as soon as I receive and decrypt the message, so the attacker is out of luck, basically (even if she gets my long-term key). However, PFS only moves the target to my plaintext message database...which is stored the same way my key is (as I understand it). So really, unless I purge my message history with some regularity (I do), then the stakes are the same -- don't let the attacker get access to the device.

But most people prefer to have all their chat history available and searchable, at which point individual decryption keys don't matter and therefore PFS doesn't, in my opinion, help much.
It's sad: everyone claims to be in favor of "democracy" --- yet when a tiny number of unaccountable, anonymous, biased people inside big tech companies place limits on what the whole world can say, people cheer.

When you support the kind of arbitrary governance, you're cheering for authoritarianism, cheering for oppression, and ultimately cheering for a kind of tech feudalism. Don't give me this "it's a private company" line: unaccountable individuals at corporations can deny you transportation, speech, and financial services --- they can ruin your life merely because they dislike you. Yes, tech companies can't take away your freedom. They can't put you in jail. But they can effectively exile you from civilization. Should private individuals have that power?

I get it. Some people are just fundamentally uncomfortable with democracy: public consensus is a messy way to govern a society. Besides: Twitter and other tech companies are, right now, making the decisions that you think are right. But what you're essentially doing is opting into a VC-funded startup that offers you cool stuff at an unsustainably low price. When the VCs demand a profit, that company will raise its prices, and you, locked in, will be forced to pay, forever.

Power works the same way: give up control to individuals now and you might like the immediate results, but you'll change your mind when those individuals start doing things you dislike, and when they do, you'll have no recourse. Throughout history, we find that people who vote dictators into power regret it later. Let's not repeat that old mistake.
I too have started to notice some increased “friction” when trying to setup Ubuntu these days.

Like you, I don’t care about “snaps” (though in my ignorance I’m willing to accept I may be missing out on something useful...)

Even when you go to their Download page for Server, the first option is not a download link but some blurb about “Multipass” which I’m pretty sure is not what the majority of people are looking for when they click a menu option called “Download” for a server OS.

But this LinkedIn crap is just awful and surprises me coming from Canonical.
No, I am saying there is nothing intrinsic to the problem of a CSS engine that makes it intractable in C++. C++ is the most used language for highly parallel, HPC applications. I don't see why there is anything magical about CSS which would prevent a c++ solution from also existing here.

I'm not arguing that Rust was not the best choice here for Mozilla. I personally would also rather work with Rust than C++ in almost all cases. But to claim that C++ is not usable to solve this problem, based on the fact that Mozilla decided to use Rust instead is not a sound argument.
Upvote - relevant excerpt
The way to solve an issue, for example local police behaviour, is to either go into politics or the police (depending on how exactly policing works in your country)...to go directly at the problem. A CEO asking police to do X or Y is literally meaningless. Why are local business people involving themselves in day-to-day policing? That shouldn't happen (and btw, in places where this does happen...it doesn't have good outcomes).

Company policy like pay or maternity pay isn't a cultural change. Offer it, don't offer it. Again, people don't realise that this creates a wonderful situation for current management: oh, the last management was terrible, they didn't give you this thing, I am giving it you, I am woke...what a letoff. Cultural change isn't about free goodies, and giving your staff maternity pay doesn't mean you care. If you care about maternity pay as an issue in itself, go into politics.

It sounds like you are in the wrong job.
There are tools for shrinking SVG that do some of what you say. One advantage of the text format is that you can reduce precision of the path data to a couple of significant figures. That would be hard to do with a binary format. You'd have to decide up front on 8 bytes or 16 bytes per coordinate pair.
> But is anyone else shocked at how well the transition to ARM has gone for Apple?

I totally get why some folks would want to wait for the next-gen of these initial machines, but I'm not surprised at how well it's gone.

I chose to buy the initial M1 MacBook Air model right-off-the-bat. The reason for this is that I went through the last two Mac CPU arch transitions (68k -> PPC, PPC -> x86), and the way Apple was able to handle those was truly impressive to me. Plus I really needed more built-in storage ASAP :)
Sure, you're "just getting by". But you are still wealthy- it is your wealth that lets you even hope to live there. If you were to cash out and move to Mexico, you'd practically be a shah.

Wealth isn't just access to servants and lavish meals, it's access to anything other people want but can't afford. A house in San Francisco is such a thing, even if it doesn't have carved ivory statues and a moat.
As part of TinySeed, I've had the chance to closely follow this team progress last year.

Congrats to them!
As long as they are paying decent prices for those creative successes (so the creators can have a comfortable retirement with healthcare in the US), this is not the worst outcome.
A couple thoughts on django as a long time user. First, the good:

- Django was the first framework i learned when learning to code. It's documentation was amazing, and it made conceptualizing an MVC framework really easy.

- Django's ORM is phenomenal for managing migrations of a relational database, especially postgres with stuff like jsonb. I've even included it in non-python projects, just to handle table migrations/rollbacks.

- The huge ecosystem is amazing. Great for rapid prototyping. Plugins for all kinds of crazy stuff.

Now the bad:

- In some ways it feels like a relic of an earlier stage of python. It's support of asyncio is spotty at best (running the orm in a thread executor not a good work around).

- It's support for type enforcement with mypy is not great. This is maybe my biggest issue with using it on large collaborative projects.

- It doesn't play nicely with a lot of the rest of the python ecosystem. Want to swap in SQLAlchemy? Sorry, no dice. Want to have nice swagger documentation? Use django rest framework or you're out of luck (i know it can be done, but it's kind of messy). So in short, it's a bit of a monolith.

These days I tend to only use django for it's orm in situations where i want a quick ad hoc database for something, or for rapid prototyping. If I'm going to do a larger project in python, I'd definitely go with FastAPI. But still, gotta appreciate that it's there, and has been reliable/well maintained for more than a decade.
Unlike many traditional carbon capture chemicals, the one we are using are both non-volatile and stable when they come into contact with air and heat. This means that our chemicals will not float out of the top of a cooling tower with evaporating water and will instead stay in the water.

After carbon capture happens in the cooling tower, we run the stream through a regeneration process to release the captured CO2 and to regenerate the starting carbon capture blend. The water is sent back through the tower, and round and round it goes.
I recently came back to F# after a long-ish (about 5 years) hiatus, and I'm coming to agree. It does lack some of the features of more purely functional languages, but, in return, you get some very pragmatic features that I expect to be a net win for maintainability in a team setting.

The one thing I still wish I could have is some sort of higher-kinded polymorphism, because I think that could make the business domain modeling even easier than it already is. But, as a Scala dropout, I also appreciate the eminent sobriety of being so cautious about introducing features that would create friction with the rest of the ecosystem.
> ...once Ethereum completes the switch to PoS

This is starting to sound like a chorus.
Microsoft leaving the phone market is where I'd point. They were also very developer friendly but far too late to the market.

I don't even think Samsung can get away from android. They are trying with tizen but the ecosystem is hard to escape.
I’m asserting that a country that used Bitcoin would still warmonger for oil.
Wrong, Java Varargs functions can take spreaded arrays as Var parameters hence the number for this not uncommon case (e.g jdbc apis, format(), etc) is only known at runtime
Think through the usage of a few other slurs. I think you'll find many of them are used both as a slur /and/ to describe some negative stereotype of the targeted group as it arises anywhere else. The 'generality' is just reinforcement of the stereotype, and doesn't make the slur acceptable.

Finally, the 'r-word' has been on the outs for /decades/ now. I tend to associate it with clueless teenagers - the same ones typically spewing lots of homophobic slurs - and anyone I hear using it will typically get a BIG discount in my perception.
They don't care who makes the phone but they do care:

1) about the phone not shipping with malware

2) about the phone not working after 2 years

3) apps no longer working because the only OS vendor for your phone disagrees about something with the developer

As for what developers care about: commercial devs will avoid the pinephone and IMO that's a good thing.
It doesn’t it’s just that for me, living in Zürich Switzerland, it’s a type of conversation I would never get to hear / be part of
Not particularly surprised by this given the fact that using Facebook is essentially providing them with a wealth of free data. Every time you show interest in something, congratulations, you are helping a computer to profile you better than a person can.

Implications good and bad, meh
I'm not sure why you say that. I see that a few comments you made about the paleo diet were probably unfairly downvoted. But some of your more controversial comments, like on H1Bs, were rigorously debated, with lots of people on either side.

Why would you make a comment like that seeking to make fun of what I wrote? It definitely doesn't further the conversation. Are you hoping to shut it down?

And if you disagree so strongly, tell me why. I'd like to know.

Edit: Seriously, what are you laughing at? My criticism of Silicon Valley or my defense of HN's relative balance?
In the last 24 hours, we've had 12 years of video uploaded to Justin.tv. 12.17 in particular. So more than double YouTube :-)

Think about it this way: if you have an average of 365 people uploading a video at any given time, you get 1 year of video per day. So YouTube probably has around 2,000 people uploading a video at any given time. (Compare to the number of channels on Justin.tv at any given time...)
Folding at home is apparently really hard to install and run on windows without admin permissions. Big bummer. I tried for 2 hours!
(the beefy pc is for gaming)
>"The problem is that the west has nobody in power with living memory of a pandemic. An unfortunate failing of human cognition is that most humans discount that which they have no direct experience of."

What about the HIV/AIDS pandemic? Lots of folks in the HHS have living memory of that. In fact Dr Debbie Birx the WH Coronavirus response coordinator has spent decades fighting on that front.

And the CDC has a presence in 40 different counties through various partnerships and has had first hand experience with SARS, MERS, H1N1 and EBOLA.
Also, what is "flawless" i18n support?
How is it possible that in 2 weeks we'll have news that quarantine is working? The general publicly isn't even taking it seriously yet.

It'll be at least 2 weeks evem before testing capacity is ramped up enough to measure population-level success at quarantine
Way above the technical skill level of a lot of people.
Indeed. Maybe we should demand it of him and of others in his position.

Regular people are placed under a tremendous burden all over the world and they are expected to cooperate and to sacrifice.

The very least the rich could do is shoulder part of the financial burden.
FIFA is a football simulator as much as Mortal Kombat is fighting simulator.

FIFA is a game.

The difference is simulator's main focus is reality, games' main focus is fun.

If FIFA was for reality it would be closer to first person QWOP than isometric view of half of field where you have perfect information and you press a key and your player does whatever trick the key was designated to perform.

The substance of the game is lost and only visuals are left.
There is one problem. The IPv6-enabled equipment that provides Internet access to the IPv6 sender knows how to route an IPv4 address, but the IPv4 equipment at the recipient's ISP might not know how to route back to the IPv6 source.
Do a little bit of research into stock options vs restricted stock. And in the early days, while you're an LLC, your new colleagues might be willing to just have a promise of a certain amount of equity to be granted to them included in an employment contract, which will save you a bunch of legal fees up front, and will prevent you from having to include them as partners in your LLC, with all the extra hassle that would entail.

But make sure you put some restrictions or a vesting schedule on what you give out. It's customary for someone to have to work at least a year before they get any of their equity. You want to avoid having ex-employees/ex-partners owning equity in an early stage startup.
Right; you'd actually need some sort of public-key cryptography: the guard gives the spy a challenging problem which only the spy can solve correctly, but for which anyone (including the guard) can check the answer.
The LG Prada is perhaps a better comparison? http://www.gsmarena.com/lg_ke850_prada-3d-spin-1828.php

Looks very similar from the outside, and was definitely demoed before the iPhone.

In fact, from a 2007 report:

> One analyst asked the executives whether they plan to sue Apple as some reports have suggested over design similarities with the iPhone: LG executive Chang Ma replied: "Should we? (laughs) Obviously, we are introducing this touch screen first [since the Prada phone will be available in Europe next month]... we are much more faster realizing and launching products in the market [than Apple]. But LG is targeting a different customer than Apple."

http://www.fiercewireless.com/story/lg-prada-shine-windows-m...
This is exactly what I thought when I saw all of the bitcoin articles on HN last week: essentially, the people who control the top Bitcoin applications are like the central banks: They control the protocols/how much money is released and also how Bitcoins are mined.
I think the main problem is there are too many grey areas in music streaming. When Amazon launched their cloud music player a couple weeks ago, it gots loads of press about the legality of purchasing music in the cloud then it being streamed to any computer or being able to download it in general.

I personally think we are stuck in a transitional period between traditional music and digital music. The traditional sense of what Amazon is doing is completely illegal, when you upload a file you are technically making a copy of it which technically you could share with others. In a traditional sense all these services are illegal in some respect.

We need new legislation that has clear guidelines. We need a clear way of letting these companies legally share music. There should be a clear port of call for all music providers such as these to try and make a go with their products.

I think they are spending too much time fighting these companies and telling them they are wrong rather than guiding them in the right direction.

I may be way off mark here but as a developer I would not touch anything to do with music licensing again. I really feel for Grooveshark, I have used the service and it looks like they have put their heart and soul into that product and instead of a great big "Thanks for helping the music industry", they get kicked.
This is a ridiculous "resource;" if you don't know shit about HTML5, how are you supposed to figure out which of these one hundred and eighty tutorials and round-ups you should read?
No, nothing native for Android
Because if there’s one thing we’ve learned today, it’s that Republicans deserve respect
The video has been banned from FB and YT.
An attempt doesn't have to be effective
About 2%, currently. Meaning if you walk into a room, spend time in it with 100 other people, 2 of them are likely to die.

The odds are low for an individual. Sadly, 2% is a bigger deal when you get on a bus, walk through an airport, use an elevator, go to a public restroom, or walk down a crowded sidewalk.

This isn’t an issue of your health or my health. It’s an issue if everyone’s health.
Any reasonable database index implementation will utilize data structures which address this exact flavor of concern. Concepts like the splay tree can optimize the locality of access dynamically based upon actual access patterns over time. But, you are right in that this locality of access property is available by default using integral types without the constraint imposed of needing to use a particular kind of dynamic data structure.
SMS prices (or 'lack of price') was something that really surprised me after I moved to Canada, as well as phone voicemail.

In Brazil we hurry to turn off the call if it goes into voicemail, as we pay to leave a message AND nobody listens to them because it costs a lot to listen (or at least used to).
Sorry to be pedantic, but you may be thinking of a group of Dwarves, not Calormenes. There was a Calormene at the end, but he did "see the light".
1. The Seattle protests did not storm any buildings, force people out of their workplaces, or planted any bombs.

2. The SPD, for a reason they still can't explain, and against the orders of both Mayor Durkan, and Police Chief Best, chose to leave the East Precinct, and then, in a petty manner, stopped responding to calls in the entire Capitol Hill area.

3. The CHAZ occupied a public park, and the streets of the surrounding block. It did not stop the operation of businesses, legislatures, or government. It did not prevent the police from accessing the area.

What we're seeing here, is a failed coup - an attempt to prevent the peaceful, democratic transfer of power by force, at the behest of a politician. I can't believe that you can't tell the difference between a coup, and a protest. One is treason and insurrection, which carries the death penalty, while the other is a constitutionally protected right.
I really don't see what's so bad about the weather. I grew up in Florida for most of my life, so some people may think I'm crazy to say this. The weather in Florida was usually too hot for me, and living around here I feel like I get a good balance of seasons (no season in Florida!). This fall has been amazing! Nothing wrong with a bit of snow, too, even though last winter was pretty crazy (my first winter here). I feel like I drove better than locals, and I'm a Floridian who had never driven in snow before. I gave up counting how many cars I saw abandoned off the side of the road after, I presume, they had lost control.