skysight-inc/HackerNews huggingface dataset:
I believe I read that paper recently :) Ultimately I ended up using PEGs. LPeg in particular, using LPeg's match time captures to recursively invoke PEGs for length-encoded objects. (In addition to the match time capture extension, what's especially nice about LPeg--missing from every other PEG library I've seen--is that you can build and transform the AST in one shot.)

I've also tentatively rejected translation to a format like that proposed in the paper. In a secure enclave-like environment I'd rather be dealing with statically defined C-like structs with stronger invariants--i.e. no optional or sum types, no variable-length fields; basically, no need for any kind of parsing whatsoever. If I have to transform, I'd like to transform the message both syntactically and semantically into the simplest possible form. Parsing complexity is only part of the equation. The other part is semantic complexity, which is a different kind of problem that better formats and parsers can't fix.

In another timeline things could have been different, but we don't live in that timeline :( We can't let perfect be the enemy of good. Even if we could move away from DER or even ASN.1 in the open source world, the entire telecommunications industry (and specifically the cell industry) is built around ASN.1 and DER/PER/XER. AFAICT the biggest users of asn1c are people working with 3GPP and similar standards. No matter how sane and secure we can make our open source ecosystems, ASN.1 and similar older tech will still lurk in the background, remaining the weakest link in the chain. If we want real security we have no choice but to develop better tooling in that regard. I appreciate your proposal is very much of that mindset, I'm just not sold on the practical utility.
"Could it be worth considering that those benefiting from rent-regulation might also benefit from being able to find a new place at a similar price?"

If rent-regulated tenants are getting a market-busting deal on their cheap apartments then by definition, they aren't going to do better on the free market. If they aren't getting a great deal, then they aren't really affecting the market.

As for these theories about raising people's rents to "help" them move somewhere else...we're really getting deep into the doublethink here.

(posting on another account because rate limits)
There's an XKCD on the subject: https://imgs.xkcd.com/comics/standards.png
If you want to perform at the absolute limit of your ability, you must regularly go past your limits. If you want to bring your whole self to that job, you must push limits in every aspect of your life.

It's not for everyone, but it's the reason why Musk is so successful. He goes right up to the line, and then tries to step just a tiny bit over. Sometimes he ends up flagrantly in the danger zone, but just as often he finds out the line was much further out than anyone suspected.

You can do the same thing socially, by letting crazy people randomly test boundaries, and then using a social network to filter best practices down to you. That way you get the benefit of random testing, without risking any of your personal health or reputation. But that takes decades, whereas Elon's strategy gives immediate feedback.

He has so much privilege that he can be quite risky without actually "betting the farm" so to speak. If he was a little less mentally healthy, a little less white, a little less male, a little less rich parents, a little less educated, etc he'd probably have flamed out with this strategy. Having that intersection of privilege gives him a nice safety net when his experiments blow up. There's a whole other layer of support beyond the business fundamentals.
Chocolate consumption lowers miscarriage risk by 19%
Alexa, please tell me about the...

Attorneys general
Senators elect

Ahhhhhhh!
Someone on HN mentioned the 'magic of ____ arrays' or something like that where search, insertion, merge, etc. were all constant time operations...

Ah! Clojure's persistent vectors: https://hypirion.com/musings/understanding-persistent-vector...

I would use stacks to sort. The book was about 1000 pages? I'll do about 10 stacks. Then figuring out which stack to put a given page in is fast. (Abstract this and you wind up with a binary tree, which is what made me think of the persistent vectors above.)
> But it would be interesting if blue apron were to cater to larger groups, such as retirment homes, or elderly communities...

SNAP recipients, retirement homes and elderly communities discriminate on cost.

It's almost always more efficient to deal directly with a food distributor or wholesaler at that scale.
OP here. I really enjoyed reading through Peter Norvig's AoC solutions a while back: https://github.com/norvig/pytudes/blob/master/ipynb/Advent%2...

I'm no Norvig, but I thought I'd try my hand at walking the reader through my own solutions this year. This is what I've come up with so far!

I'm currently 9th on the global leaderboard: https://adventofcode.com/2018/leaderboard
Then reverse split and magically have higher value shares

wow we've come full circle from my parent comment
I'm not sure you have an expectation of privacy with stolen goods.

Booby traps causing injury are illegal everywhere.

Calling a smell a "chemical agent" is just inflammatory. Everything is a chemical, sure, but there is no chemical reaction involved here. Would you call perfume a "chemical agent"? It's just something that smells bad.

The only danger would seem to be getting glitter in their eyes.
Cheers! You're making my point: the "FRBM" isn't needful.
ML (Meta Language) vs ML (Machine Learning). It is confusing.

When I hear ML, I think the language (cause I am "old"), but it is usually the process (Machine Learning) cause that is what is hot.

https://en.wikipedia.org/wiki/ML_%28programming_language%29
Unless you live in a country with humane labor laws.

He can still make your work life difficult. But if he goes to far, HR has to consider that maybe he should leave, since they cannot make you leave without cause.
Oh I see. That would explain a lot. I thought I was just getting out of touch and nobody liked me anymore! :D

Well maybe i'm still pretty unlikable but not _that_ unlikeable. Thanks for the clarification.
Most of the online grocery delivery shops give you food from local producers, all of them must indicate the origin, at least in uk.
For some recipes you can’t have local produce, by definition.
Your box doesn’t solve the trip to the store because you still need to buy household stuff, breakfast food and all the other stuff that you use daily that is not sold by blue apron or these kind of services.
The premium doesn’t seem small to me given that is 2-3x a grocery store, at least in case of blue apron...
I don’t think that there is a huge market for people that don’t want to click a couple times more to add the ingredients for a recipe (or actually just a click if you add it once in a shopping list), that are willing to pay a premium but that still need to go to the grocery store for the normal shopping and do all the cooking.
This article gets worse with every paragraph:

> My code for Python 3.5 won't work with the Python 3.7 installation unless I intentionally port it to 3.7.

Probably not. While I can't guarantee there are zero breaking changes, it is highly unlikely to encounter any from 3.5 to 3.7. Another numerical pair might have been a better example.

The split between 2/3 was an issue, widely known, and in the past. Personally I'm glad some big problems in 2 were fixed, though there was some pain.

> When Perl5 came out, a lot of people just switched to a different programming language that was more stable.

Nope, Perl 5 was incredibly popular. It was 6 and the two decade wait where folks jumped ship.

> And I pity anyone who miscounts spaces and accidentally puts in three spaces instead of four somewhere -- this can take hours to debug and track down.

Nope, it tells you the first line where the indent is wrong.

> imports: then search every file in every directory

Nope, just type import ... If you want to know which file it found, print(module).

....

Others have found the other issues. Most of these are nitpicks from someone who doesn't fully understand or agree with the tradeoffs chosen.

IMHO, the biggest design flaw left in Python is that it is always dynamic and that's what makes it so slow.

Why too dynamic? Well, changing types of variables isn't used much in practice. So, to pay a time cost for it on every single line is unnecessary. If types were fixed by default but let you opt in to dynamic when needed, we'd have the best of both worlds. Speedy most of the time, dynamic and slow when actually useful.

Basically whole infrastructures like Cython have been built to correct this.
Some ISPs will cut you off after X repeat notices in under Y timeframe.
> almost none of these units are "affordable"

Of course, the point of new development is to ensure the housing price house of cards continues.

Unfortunately in the US, people consider their home an asset that needs to gain value, I'd actually rather have the states or the government own the property instead and just rent it to the people, but that's "COMMUNISM" and the end of the world.
I like how cryptocurrencies were launched as an alternative to central banking, wresting control of money away from the government and big banks. An open and level playing field that would democratize how people transact financially with each other.

And then the first thing the early adopters did was recreate the flawed financial institutions that surround "real" money so that they could pretend to be Gordon Gekko and throw around words like "arbitraaaaage".

Is there data on what percentage of cryptocurrency transactions are "Real, actual, humans buying and selling real, actual, things or compensating each other for their ideas and thoughts" and what percentage consists of "traders shouting at each other in the echo chamber"?
Most of the prepared food in the grocery store that you just need to heat up isn't very appealing to me for the most part. Fish sticks and chicken nuggets, blech.

However, there are a lot of things like salmon, brats (as you say), etc. that mostly do just need a quick saute or bake. And vegetables can be very quick and simple as well.

However, some people do like the idea of more complex meals and some of those people find BA makes it a bit easier to get there.
> let people suggest identities

Have we learned nothing from Reddit circa 2013?
3: Yes. Mandatory indenting is a godsend to readability. Author is wrong.

4: Yes. Imports >> Includes in every conceivable way. However, what is actually available to import _is_ confusing. This is really a symptom of a different problem though...

5: Yes

6: Yes - picking on the quotes thing with Bash is just one of a million syntax "quirks" that make Bash a horrible no good language. ( as an operator is my vote for most egregiously mind-bending "feature".

7: Yes. Once you get used to it, Python usually does what you want in terms of passing parameters.

1 and 2: NO. The ecosystem and the language are the same thing. They're useless without each other. Every other point the author makes is dumb, but this one is utterly correct. Now, the version schism is unfortunate, but it's spilled milk. I agree with the author that it's obnoxious, but there's not much to do about it now. However - creating, sharing and installing packages in python is THE problem. And I'm not saying it's an unsolvable problem - that's what makes it so frustrating! You have a thriving, healthy community of package maintainers creating amazing libraries that allow regular engineers like me to get work done out of the box. And in many ways, as other posters have pointed out, python paved the way for making this experience better than the hell that is c++ package management. Sure.

But the current user experience of trying to give somebody an application that happens to be written in python? The story of how you take some python code you wrote, bottle it up, and make it work on somebody else's system? And the story for how they take that code and make it available to themselves on their own system? It. is. atrocious.

Which one of these tools, concepts, commands and filetypes do I need to care about:
package, module, egg, wheel, bdist, sdist, distutils, setuptools, easy_install, pip, pipenv, poetry, PEX, PyInstaller, py2exe, PyPI, conda, miniconda, anaconda, virtualenv, venv, requirements.txt, setup.py, pyproject.toml, pipfile, site-packages, dist-packages, $PYTHONPATH or motherfucking .pth files??!?!

Ever been curious how sys.path gets populated at startup? Gaze into the darkness: https://github.com/python/cpython/blob/master/PC/getpathp.c

And to anyone saying "Just use a virtualenv": that is so, so not an answer to this eldritch horror. Let me ask you this - when you installed chrome, did you have to create a new virtualenv? No. If you want to effectively distribute code to lots of people, you need more than a god damn virtualenv. The whole world isn't just scientists tooling around in sandboxes.
HR is there to protect the company. Not you.
Thanks, I'll add these links to my blog post later tonight!
I'm surprised rent control doesn't take into account a person's dependents. It's not fair for an "empty nester" to keep living in a large apartment when their dependents leave, though I guess evicting them doesn't seem right either.

That said, I'm not convinced there's such a big connection between churn and affordability. Moving is really inconvenient, and there are a lot of good reasons to stay put.
Are for-loops called for-loops because of “being thrown for a loop”?
thoughts/feelings?
Fair enough! I get into the modes you describe too and find it quite depressing. To the point where I've reasoned that the only real and true thing I can do is accept the fact that I won't know everything. The consolation is that there's still a beautiful world all around me, and some wonderful people. And sometimes...it's enough :)
Always keep in mind that HR is there to manage the company's "human resources"; they are not looking out for your best interest. They are acting on behalf of the company.
I don't know if it's normal, but I experience pretty much the same cycle (and have for the past 5-6 years) -- for me, what's helped is:

- being able to anticipate it

- using that time period to do more introspective stuff like journalling (instead of trying to be as productive as I usually am)

- trying to get outside/working out

- and sometimes drinking tea for the l-theanine + caffeine boost (which tends to snap me out of it for a duration of time)
SpaceX is a lot bigger than just Starlink... I'd say you'd have to buy into the whole vision to consider it a good investment.
In UK all the big chains give you the option for online delivery.
The quality is not a problem and it’s fairly easy to switch to a competitor in case it is.
Edit:
Ah Amazon fresh is simply not working as a food delivery service.
They handle the trolley like a normal amazon order, it’s not optimised for tens of items, they mess up a lot of orders and the refund workflow is simply ridiculous.
If you only ever used Amazon fresh for grocery shopping then I can understand your issues.
> Unless you live in a country with humane labor laws.

AT WILL STATE - I live in Pennsylvania and you can be fired for no reason. Sure you can sue and you might win but probably not. Why we allow these laws in a Democracy/Republic is mind blowing.
With even a 2-day turn around, 8 accounts x 3 disks == 24 disks at a time... so, would think so.

Aside: Re-encoding to a tighter format at that time wasn't too bad, but still relatively slow IIRC.
Or wait to open your mouth until you have something else lined up.
> Sullivan puts his arm around my shoulder: “Jean-Louis, I’m proud of you…” After half a decade in Cupertino, I know what this means: What I have done is irreparable.

I don't follow his reasoning, here. What is it about Cupertino which immediately leads him to this conclusion?
You want someone in the company backing you? Start an union.
> McIlroy already behaved as the goal had been different than it was.

How would you feel about McIlroy's solution if it was semantically exactly the same, but written in a literate approach? (Essentially a version of 'weave/tangle', but for shell scripts.)
Show HN: Vue Firebase Generator
Or learn to backstab and play politics.
When I get home, there’s a 60 min window for socializing and meals before bedtime routines begin. Going out to eat requires picking a location, getting everyone into the car, picking your order at the restaurant, waiting for food, waiting for check, piling in and going home. That just doesn’t fit in 60 min.

On the other hand, grocery shopping requires advance collaborative choice. Sometimes the choosing can take over an hour. Delegating one decider comes with its own hazards, and effectively binds the decider to also be the grocery shopper in order to execute appropriately.

Services like BlueApron solve for that by reducing the number of choices and removing the need to leave the house. If you don’t mind cooking / enjoy picking up new cooking skills, you optimize for stress-free time with your family.
Leaving a package on your own doorstep is extraordinarily unlikely to be construed as "mailing" it.
It's definitely a YMMV kind of thing.

I'm not going to go on some kind of "all cops are bastards" bend here, cause that's not the case and this isn't the forum for it, but I've had more bad experiences with the police than good ones.

None of them resulted in an arrest or charges filed (this is excluding moving violations because death, taxes and speeding tickets; I was a 23 year old driving a Mustang lol) since none of the interactions involved me doing anything illegal. After a few experiences like that you learn to keep an eye on a police officer when you see one, but there's no urge to make your presence overtly known to them either.
Does anyone, even HR, have a belief contrary to this? This seems like one of those statements that everyone knows but thinks for some reason everyone else doesn't.
To be clear, we were talking about a theif getting a little glitter in their eye; I understand why shooting someone is controversial.
You're misreading. There are two comments in a row by bobthepanda. The accusation is that ryacko's comment was suggesting segregation. That's what I disagreed with.
Geoffrey Hinton and Demis Hassabis: AGI is nowhere close to being a reality
Read history, art, music, etc. books - books on topics you're interested in? I read tons of nonfiction and I never have this problem.
A gripe about F# on MacOs - how to install it, count the ways - 6.

https://fsharp.org/use/mac/

Don't I need Mono, wait, shouldn't I be using .NET? Oh I will probably install it one way, only to discover I should have installed it another.

I find the .NET and Mono differences confusing.

So this is a barrier to entry to consider.

That said, this free book is kind of nice introduction:

https://www.oreilly.com/programming/free/analyzing-visualizi...
Intro to Speech Recognition in Swift via FlyoverKit
As others have said on this page, event sourcing is one of those technologies where if you don't know what it is, you certainly don't need it. Even if you do know what is, you usually don't need or want it unless you have no choice.

In event sourcing, instead of having stateful objects, you have a log of events that you use to build that state. It gives you powerful rollback, backup, and history features at the expense of some insane code complexity (usually solved by tooling). When paired with CQRS, another architecture separating reads and writes in your abstractions, and done well with events that are domain oriented ("AccountingReconciliationStarted" instead of "StartButtonClicked"), you can hide most of the code complexity and allow developers and less technical users to focus on domain complexity (i.e., the logic that matters to the real world).

At least in theory.
Show HN: Angular Firebase Generator
I agree with your view that book is the best resource for learning.

I have read so many tutorials that were just bad, that reinvented the wheel, mixed patterns in MVC, had business rules in javascript without server side validation and so on. Books usually will touch on why something is done a certain way and you can trust an author that is well regarded in the field. I guess it may take a bit more effort.
> In text parsing
Yes, and he admitted to misleading with fake math:

> But it’s not how it worked for those skeptical forecasts about Trump’s chance of becoming the Republican nominee. Despite the lack of a model, we put his chances in percentage terms on a number of occasions.

So it would be more accurate to say that he was careful during the second half of the election, after making significant mistakes (both mathematical and ethical) during the first half.
This seems like a fundamentally hard problem. If I ask Alexa, "Play songs by Simon and Garfunkel", I may want to include their solo work ("Play songs by ([Paul] Simon) and ([Art] Garfunkel)") or not ("Play songs by (Simon and Garfunkel)"). The choice is probably more likely for some artist groups than others. It may even vary by user. It's hard to imagine a single trained AI that can handle that variance without a ton of very quickly-changing domain knowledge.
> "Huge gains in production from Texas, California, and Oklahoma quickly eliminated the regional shortages of 1920 and induced a downward trend in bitcoin prices over the next decade, with bitcoin prices falling 40% between 1920 and 1926. The decline in demand associated with advent of the Great Depression in 1929 magnified the price impact of phenomenal new discoveries such as the gigantic East Texas field which began production in 1930. By 1931, the price of bitcoin had dropped an additional 66% from its value in 1926."

paraphrased from https://econweb.ucsd.edu/~jhamilto/oil_history.pdf

Passive retail traders were never in commodities trading. Retail trades stocks. Retail has been trading digital assets like penny stocks. GTFO of the digital commodities market if you don't swing trade supply and demand or actually use it.
Because you shouldn't be forced to work with people you don't want to work with?
Rental fees from people who want to put out exactly these kind of packages to deter theft. You'd need a high deposit to cover loss of the device. On the other hand mass-producing it would certainly allow both economy of scale and substituting lower cost parts than (for example) an off-the-shelf cellphone for video capture and streaming.
If it did that it would be extremely easy, play longer.
The FSSF site needs updating (which is happening). This explosions of options is quite a detractor, and they're aware of it as they are doing a redesign.

You can see a more simplified version of how to get started here: https://docs.microsoft.com/en-us/dotnet/fsharp/get-started/
"A reasonable person would not suspect glitter to cause bodily injury" seems like a good defense. Setting a trap that can maim is obviously dumb, for the reasons you mention.
Great and really cool! A few tiny notes.

I had a moment where I deleted all the chords on one line (by hitting backspace repeatedly). When I got to the end, I hit it again thinking it would remove the line, and the whole page went blank.

I would also love a feature where I can share the song publicly at a URL. Is everything just persisted in the browser right now? I noticed there's no auth. At any rate, I wrote a song and annotated it in songcraft, but now I need to share it with the band's singer! This feature would be great.

Thanks again!