jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I don't consider that man particularly wise. Clever has many different axes.

Compare debugging something like git or hg (clever, simple data structure) to cvs or svn (non-clever, standard data structure).

Systems like git and hg don't just do more; they're also far more debuggable thanks to clever. That's not an IOCCC type of cleverness, but a deep, deep clever.

Likewise, consider general-purpose data stores (such as a KVS or an RDBMS) compared to a one-off data structures mapping directly to your data. The design of the original RDBMS was hyper-clever.

A wise man knows when to be clever and when not to be clever. I don't know of any programming language designer who can make that determination for me; it's too domain-specific. If you can rely on programmers to not be clever for inane reasons, you can allow them to be clever for architecturally-critical reasons.
I don't know about that - I'm a little older than you, and I remember when the web was more like this. GeoCities and MySpace allowed tons of customization, and everybody made their own barf on a page to express themselves.

Then sometime in the mid 2000s everything online became sanitized and corporate.
I bet it all boils down to what you're familiar with; but on PC if you have a linux distro you can essentially customize your computer exactly the way you want maybe minus some firmware stuff on your hw. I have an android phone and I'm almost always clueless as to how to operate it, sometimes even finding files is hard. It remind me of using Windows, except in my phone.
Did you read it, it only activates once until the product has been delivered.
Boeing looked at many possible configurations for the 747, a full-length double-deck among them (photos exist of such a wind tunnel model). The short top deck exists for a variety of reasons, one of the more interesting ones is that the 747 was designed to be faster than later airliners, so the Whitcomb area rule is a factor in its design, especially noticeable in the -400 model, where the top deck ends above the wing root leading edge.
I'm not sure how it affects the overall system, but I would think we need reflection before the photons enter the atmosphere to prevent our little ecosystem from gaining the energy. If it hits a river on the surface, that's already a bit too late.
> People expect to be able to plug in a base station and have it "just work", so coordinating with other nearby stations to optimize spectrum usage, minimize TX power, etc is something that needs to be automatic.

... isn't it ? my internet box is from something like 2014 and is able to choose the less used wifi band automatically.
I'm not seeing a problem there?

I mean, I'll admit its tone is quite direct - I guess they could have copy-pasted some corporate-speak about what a difficult decision it was and how very sorry they were about having to make it, instead of being so direct and unambiguous. But that's pretty trivial IMHO.
This inspired me. What's the best book for modern prolog?
I am still waiting for refunds from Ryanair for cancelled flights in March.
How did they decide on this years-apart schedule though? Presumably they had some data to say "we tried giving group A a booster after 90 days, group B after 365 days, group C after 2 years, group D after 3 years, group E after 7 years, and group D did best in terms of not catching the disease"?

Or maybe they said "we measured secondary immune response with a lab test, and group D had the highest number"?

If these weren't done for the COVID vaccine specifically, but some other vaccine, couldn't you still put some rough ballpark quantitative guesses on the COVID vaccine to help guide public policy better than "shrug, we have no clue what will happen if you do anything other than 21 days"?

Something like "We think 40% will be protected with one shot, 90% will be protected with two separated by 21 days, and we can fit a curve to these two data points which has the same shape as curves for other decades-old vaccines that have tons of data and is supported by biological theory [paper1] [paper2] [paper3] [paper4] [paper5], and that curve continues to monotonically increase, so waiting 5 weeks instead of 3 should be no problem, in fact we think you'd be 91% immune instead of only 90% immune (provided you don't actually get the disease in the extra intervening 2 weeks), r^2 = whatever, but waiting 1 week instead of 3 is probably super bad, you only get up to 50% based on the shape of the curve and what's known from other vaccines, [paper6] [paper7] r^2 = whatever.

Disclaimer: This assumes COVID-19 vaccine acts like the vaccines in [paper8] [paper9] [paper10] which collectively cover 80% of known vaccines, but it's always possible since it's MRNA the curve will be something super weird and there's absolutely no reason to think it'll be like that, but it'll take us 10 years to definitively rule it out, but if you need to make public policy and you don't have 10 years to wait, a policy based on a tentative analysis with a 20% chance of being wrong, which 20% we got by polling experts' Bayesian priors of the probability that a new vaccine will have a totally different curve, is probably better than a policy based on a completely random guess [paper11] [paper12] [paper13]."

Based on that you could do an expected-value calculation of how many less people will get sick under policies of holding back various percentages of vaccine for second doses (the factor you control), vs some distribution of possible random future production hiccups (the factor you don't). You might find it's better to get shots in arms now to have as many people as possible 50% protected as long as possible if you know it's implausible that it's going to be a disaster if those people wait 5 weeks instead of 3 for the second shot due to a manufacturing hiccup.
>Poorly formatted log statements/errors can become harder to debug
>UUIDs often need context to aid debugging.

The GUID vs Int problem is incidental to the real problem: poorly formatting logs. An integer or other key type without context is no more helpful.

>At the very least, identifiers should not be allowed to float freely as strings or integers in order to prevent a class of inconsistency bugs.

I'm not familiar with the ergonomics of GUIDs across all languages, but C#/MSSQL makes them pretty easy to handle when they have been chosen as keys.

So the answer, as far as ergonomics go, is not settled depending on your stack.
Presumably by spending less time on HN and more time on your crypto trading. I kid I kid. You are an inspiration to us all.
I hope I haven't made it sound like we're disorganised or we don't have any process. Its just that as lead developer my opinions are trusted, and if I am convinced that using node.js on a slightly more experimental site is a good idea, then people will believe me. I have some free reign to experiment, as long as I don't make things more complicated for our core business. I think it is a good balance.

As it happens I wouldnt use node.js in production right now, but thats not the point.
Would you please stop posting unsubstantive comments? We're trying for something different here.

https://news.ycombinator.com/newsguidelines.html
More bad news for the Blue Origin team, but at least they've got pockets deep enough to absorb the delay to revenue.
And building science[0]. But building science has always been full of buzzwords.

[0] https://www.iesve.com/digital-twins
New, modern publishing mechanisms have, unfortunately, by and large not solved the career incentives that surround academic publishing.
Not having to commute, and a boss that trust me and cares that I deliver my projects and tasks on time helps.

I achieve the same amount of work, and can spend more time with my kids since I'm already at home when I'm done.

I'd take remote-work any day.
If by people you mean consumers, then yes, if you mean corporate/tech workers, then no.
yeah this may be a thing, why not!
You are correct - I should have been more explicit, but I was using comparing Taler as a system to move arbitrary money against the Bitcoin network[0], which is a system to move a specific money (Bitcoin the coins), or the various blockchain networks, which do similar for other tokens (including securitized fiat, as in stablecoins)

[0] "the Bitcoin network", meaning the use of blockchain transactions to facilitate payments, or off-chain schemes to do the same with on-chain settlement (as in lightning network)
I think you're wrong about the first part. It's probably right for newborns but not even older infants and it is definitely possible (even extremely common) for toddlers to get too little sleep if left to their own devices.

"Sleep when the baby sleeps" sounds good but is not really how sleep works; sleep quality is very sensitive to cycles and time of day (it's also a very personal thing, with big differences between individuals). It also doesn't work at all for working parents. And even in households where one parent doesn't work, the other one does, and it is important for both parents to be rested.

Of course you can pull this off, I'm not saying anybody is going to die or anything, I'm saying there are very real advantages to more predictable and consistent sleep. For us, we were very hesitant (or maybe just lazy) about sleep training, but our ~15 month old was noticeably happier after being able to sleep through the night.
Congrats man

Really enjoyed reading the journey, it was long but wow.
Apologies for posting something so out of date, it was a request on an ask HN and I goofed up. By means of compensation, please consider these instead:

http://blog.macronimous.com/php-best-practices-and-worst-mis...

http://fwebde.com/php/best-practices/

http://www.devtheweb.net/blog/2010/03/02/common-php-best-pra...
Check out http://favilous.com/
Samsung does not know how to make phones. I got burned bad on the Galaxy S and this one looks like a continuation of that line.
And so it begins, the destruction of human society.
Yahoo is shutting it down, ergo their perceived value is significantly lower to justify that decision..
> SANITIZE ALL USER INPUT. ALWAYS. NO EXCEPTIONS.

I really don't like that word. Or "filter", "clean" or whatever people call it.

It implies that you can somehow run a variable through a filter and scrub of all the evilness. But that is not how to deal with the problem. What need be done, is to encode strings properly when embedding them in a context, that is interpreted in some other context. For example encode entities when inserting into html or urlencode when inserting into a url.

Bottom line is - This has nothing to do with user input. It has to do with how you output data.
Using curl:

curl -n -o ~/docs/delicious.xml https://api.del.icio.us/v1/posts/all

where `-n` flag forces curl to read ~/.netrc file:

machine api.del.icio.us login yourusername password yourpassword
Cool - thanks. I did actually know that, but I never got around to changing it to the more efficient version, and it's nice to be reminded.
robots.txt is merely a suggestion.
Good post. Interesting info.
I think this is probably the essence of it. Hardware people see software as just hardware that can be easily reconfigured. That was a reasonable model back in the 8048 days, when one only had 1kB of ROM and 256B of RAM to work in. But these programs are obviously far larger, with orders of magnitude more data paths and astronomically more possible states. Different techniques are required. Someone from a hardware background isn't going to understand that.
I think true capitalism can't arise in a vacuum; it needs a regulatory support structure for enforcement.

cf. The Value of Nothing by Raj Patel in which he makes the point that we all agree as a society how trade is conducted, and we can agree to do it one way or another way. For example we now agree humans can't be sold and that land can, but at other times the reverse was the case.

Trade does not happen in a social vacuum.
The beginning of the conversation sounds like an intro to a Nigerian 419 scam. I was waiting for "can you transfer some money from my brother" or something :). Not to mention the fact that I might be booted out if customers feel uncomfortable.

Enjoyed the article. I do like the point about the rejection therapy.
If you don't mind offering up the information, where do you work? Or at the very least, what field do you work in? That sounds extremely fun.
Halloween.
I had it coming. But for what it's worth: I'm a net admirer of your work. Call me out for being unfair any time, but don't think I'm throwing darts at a Zed Shaw picture on my wall.
Social security if far from regressive. You also have a maximum that you receive.

Also, lower income earners get a much higher return on SS than higher income earners. Is he going to increase the maximum you can get from social security.
It's really nice to even see this discussed, I've been really interested in this topic.

It's true, at some stage we're going to have to reduce the carbon we've already injected into the atmosphere, so why not get started now. It's amazing how little funding this has received.

I'd actually be interested in paying for this like any other utility, as electricity prices get cheaper from renewable energy, I'd be happy to pay a carbon capture bill to survive and breathe cleaner air. I'd also hope this would be a temporary thing as we completely transfer away from fossil fuels.

Pay to clean up some of my own mess,makes sense.
There seem to be a couple of AAA titles developed specifically for VR. 'Westworld Awakening' and 'Terminator: Resistance' are big franchise names that probably count (AAA is a bit of a vague category).

Personally, being the frugal sort, I'll wait until it is on special. By which time I'll have upgraded my headset to one I can wear for more than 30 mins without it becoming an irritation.

I do wonder if the demographic is bang on the money, with a large number of headsets in the hands of people in their late 30s and 40s who remember the original Half-Life. I had originally thought Valve would first reissue the Half-Life and Portal games for VR, or even reboot Half-Life.
I suppose the workaround is to send all your printables to a Google drive folder, and then have an app on your devices that send those printables to the printer whenever the printer is visible on wifi. Not sure if Android offers sufficient APIs for that though.
TOTP is great for you and me, but the average Joe totally does lose their phone and get locked out. Forget recovery codes, what the hell are those, they can’t even keep track of passwords. Authy provides encrypted backups you say? See “can’t keep track passwords”.

Don’t even get me started on physical security keys. I could hardly even convince myself to use one, let alone always having at least one backup. Imagine asking my mom to do that.

At the end of the day, the average Joe needs a recovery mechanism that’s not tied to their memory and doesn’t make their everyday interactions a pita. Phone number is just one step below government IDs (which people would be uncomfortable to supply for most sites) and the challenge response could be easily automated, making it ideal. It’s being ruined because of the incompetence of telecom operators.

I wonder if requiring physical appearance with government ID for a SIM change, and making fraudulent SIM issuance a fireable offense would drastically cut down on SIM jacking. (Before anyone points it out, I do envision fraudsters applying for telecom jobs just to do this.)

Now, I’m not arguing TOTP without recovery phone number shouldn’t be an option. I opt into it whenever possible.
Rendering quality is really good. Looks just like PDF.
I'm on Fennec running Firefox 68.2.0 esr on Android 9. No extensions installed.

Tried logging in. No issues faced. Working find for me.
Interesting that Qi Lu just raised $55m for his "MiraclePlus" last week:

https://www.sec.gov/Archives/edgar/data/1792939/000179293919...

I wonder Qi just decided to just go his own way.
Sorry, I'm going to make an assumption that by interface difficulty you mean it's ability to be queried (map reduce only + lucene {optional})? Also, nothing forces you to use protobuffs, you can tell riak what (via the content type of an http header) what your data is and get it back as such. I don't see that as a weakness.
My dream of working (short of brain-machine interface) is a tiny screen mounted in front of my eye (monochrome tty would suffice) and input by hand gestures.

But still, I probably would have to sit down to work because it would be too dangerous to walk around while concentrating on something else. Maybe standing or lying down would be an advantage.
Please no, both consoles have been holding back PC gaming. Crysis 2 actually has lower system requirements than the original Crysis precisely because they bent over backwards to make it work for PS3 and 360.
Economics does have some lovely mathematics, interesting ideas, but it is not really an experimental science. Eric D. Beinhocker book, The Origin of Wealth is an interesting critique of modern economics and the problems inherent in its use in modeling the real-world. From the Nobel Prize point of view, a prize makes sense because so much of modern decision making is informed by economics, right or wrong. BTW, the economics prize was not one of the original Nobel Prizes and was not created by Alfred Nobel.
I just took a look at the FAQ for Nook Color, and I have to admit I'm a little disappointed at the battery characteristics:

Only 8 hours to a charge.

Takes 3-4 hours to recharge.

No USB Charging.
I will begin hoping against hope that Yahoo! finally makes good use of one of their acquisitions. If only so that they stay as an independent company who provides exits for interesting start up companies like IntoNow.

However, based on experience, I expect to be disappointed.
"I wonder if the prior paragraphs where he talks about building his online reputation may have inadvertently primed us to read the sentence that way?"

It's because I wrote this in a hurry so I didn't take as much time to polish the white spacing as I normally would, which makes it more difficult to read. The issue is that there are basically three or four separate ideas that are all chunkified together. I edited that sentence though to at least make it more clear.
I do not disagree on the fact that dense cities can work better, particularly in a US context where cities are simply not built for humans. But in an European context, where I am, it is different. Here we already have very mixed environments, and green zealotry often fails to appreciate the long-term economic impact of certain proposals (to be charitable).

Before we restrict mobility option, we should ensure that compensation is paid by rich people through increased capital taxation, to funnel funds to public transport - at the very least.
It's undefined behavior, the compiler can do whatever it wants.

Here the compiler assumes the function never returns (because it would be UB since there's no return statement), so it looks like it just didn't bother to add a loop exit at all.

This is standard compliant.
> All the "saved space" in Apple laptops become amazingly wasted space in your bag with tons of adapters and wires

It's a reasonable tradeoff. Imagine your laptop with the power supply built in instead of as an external brick.
GPDR’s intent is to (at least) inform you of what’s going on. Sure, you can’t do anything about it but click “accept”, but GDPR also goes one step further and makes certain “forced ‘consent’” things illegal.
Worth mentioning TypescriptToLua here I think.

https://typescripttolua.github.io/
What you describe is exactly the headache I was mentioning and dreaming to avoid. I do not need part of the laptop separated from the laptop to have additional task to think when to take them together and when not to take them together.

I do not want to search for this 'little guy' in the dark and be stuck without it when I forgot to take it because a lot of other things happening in the same time around or I lost it or somebody took it because he thought it belongs to him by mistake.

Having the dongle headache or not in certain situations means missing shots or not. And I speak from experience of shooting intensively in addition to doing other things during 5-7 days in a arrow where you do not always have time to eat/sleep and surely no time to waste for this dongle BS.
They have my attention here. As a long time thinkpad x220 user and tons of mods and upgrades in it I like the repairability approach. As a linux user I would prefer if they had an all AMD option.

Congrats on this project, I hope you folks succeed and bring more companies to make laptops/hardware with the same approach.
Better coverage than Vice, in The Guardian.[1]

Interestingly, there is now a global union, based in Switzerland, that's organizing multinationals. They're up to 20 million members.[2] They've been able to organize two US gig-worker companies, Manpower and Kelly Services.

They have a brochure on Amazon: "Essentially irresponsible".[3]

[1] https://www.theguardian.com/technology/2021/feb/23/amazon-be...

[2] https://uniglobalunion.org/about-us/global-agreements

[3] https://uniglobalunion.org/sites/default/files/attachments/p...
I publish non-fiction books on Amazon KDP, a way to self-publish paperback & kindle books without a traditional publisher.

When a customer orders a book, you make 60% of the profit, minus the cost to print the book. The cost to print the book varies. My books run 30-40k words and cost between $3-4 to print. I sell the books between $11 and $14, so I make a few bucks from each book. It isn't a lot if you consider the price of the book, but it's better than traditional publishers by a LOT, and I don't have to print any books ahead of time. My upfront costs are just getting the books written and the covers made. Then I pay for ads on Amazon as a continuing cost. And I get complete insight into how well my books are selling on a day-by-day basis.

I miss out on things a traditional publisher can do, like marketing and real in depth book design, but from what I understand they don't do much marketing unless you're someone famous anyway. I also don't get an advance.

I do keyword research before creating a book, and I've looked at technical books, and he's right, they just don't sell very well. Maybe they used to, before stack overflow, but they're just not worth the investment. If you're thinking of writing one, do it only as a resume builder, or to build a community around something you love.
That's what it's been for at least the last 8 years (when I started contracting). For sure you can earn more if niche down, but for a generic 'mid-senior level dev turned contractor' those are the going rates.
It's all relative. I find it too damn slow!
Now take a look at all your other laptop-like gadgets (the infotainment in your car, your smartphone(s), TV(s), PC, gaming rig, etc etc), and tell me how much flying and driving they prevent.
8GB isn't enough for everyone, but it is enough for a lot of common consumer tasks. If you check out comparisons between the 8GB and 16GB M1 models, it's surprising how hard you have to push them before the difference in RAM becomes apparent.

I personally would have liked to see Apple bump up the base spec to 16GB. But hey, the 16GB models are available if you need them.
> What’s the point?

to keep the noise ratio at a bearable level? I'm not against gatekeeping but the way it is done needs to be transparent and those at the gate must have the right experience/background otherwise it's just grandstanding by mods and high-karma accounts that have no qualification other than having been there first (and perhaps louder than others).
It is standardised and widely implemented.

https://developer.mozilla.org/docs/Web/JavaScript/Reference/...

Your code has a bug, missing constructor.