skysight-inc/HackerNews huggingface dataset:
In this town of 200k we went out for sushi yesterday. From what I could see from the street corner, it may have been the only thing open in that whole neighborhood. This morning I was wondering about the religious cross-section among the employees. There are other faiths besides Judaism that don't celebrate little baby Jesus.

The old people buffet and the movie theater were the only things open in the mall.
It's "easier" in the sense that with normal Minesweeper you'd win less than 50% of the time, but with this you win 100% of the time. I agree, with normal Minesweeper I'd play "provably correctly" but then lose when I had to guess, with this I don't have to.
Why is that? Is a coloring game on a tablet damaging? Is a coloring book not?
In undergrad most of my profs followed an even simpler system: if you get locked out just email the paper when you can with an explanation. Most professors are pretty accommodating, as sometimes your dog really does eat your homework.
Sadly much of the implementation is still missing to be audited, things like schematics and hardware design need to be more robust before we can really call this open source hardware.
I've just stopped answering my phone altogether. If something is important enough the person calling should leave a voicemail.

I don't do either, because the spam calls I get are in a language I don't speak, and my voicemail is full of messages in languages I don't speak.

I have to resort to "if it's important, someone will e-mail me or send a letter," which ten years ago used to be the biggest vector for unwanted contact.
Please read the entire post and respond to that rather then the tidbits that help you gain argumentative advantage. I have repeatedly said that the implementation WAS not the point and that all performance metrics are negligible as the are under O(N). Either way here's a response:

Honestly reg expressions in all general contexts is one of the fastest implementation of string parsing available for this specific type of parsing. You would have to understand computing theory to see this. Since you didn't even bring it up the actual fact of the matter is, you don't have a good model of computing in general in your head.

The issue you're seeing here is python specific. So really the only way to see this kind of thing is through benchmarks OR knowing the python source.

> See how having a reasonable mental model can be nice?

The problem is your posts also indicate to me that you don't have a good mental model. From what I can make of the model is this: Abstractions are bad, use less of it for more speed, also know SSD's and CPU architecture that will help you write faster python code.

Then what you do is run benchmarks and rely on that in place of an actual working mental model. Believe it or not you CAN run benchmarks on every permutation of a code path you can forego a model altogether. Evidence is more reliable then a model, yet your genius advice was for me to learn CPU architecture.

>a) the actual string manipulation would form a negligible part of the total runtime b) regexp would not be faster (and the actual fast way to do it would be str.translate)

Two things about this, first... str.translate is python specific. No general mental model would assist you with this. You are using python specific knowledge here.

The second part is similar. How do you know eval would be non-negligible? Theoretically the interpreter interprets python code and eval interprets the same thing. Is eval/str accessing heap space or stack space? What is causing it to be slow or is it the extra parsing itself?

Likely you don't know.

Either way my example served one thing. If you understood it you would know that the theme was basically to say that moving through Another type space could have advantages over moving through the original type space. The string functor was just an example.

I could easily say that the goal was to convert:

{"1":"2", "3":"4", "5":"6"} to {6:1, 2:3, 4:5}

Or essentially the ordered dict, rotated. Tell me which space is a rotation more intuitive? A list space. [1,2,3,4,5,6] is more readily rotated into [6,1,2,3,4,5] with one operation and converted back into a dict.

If you tried to do the above directly by manipulating the dictionary it would not be as straightforward. Use a functor to lift the dict into a list, do the rotation and lift it back down to a dict.

That is the point and the pattern I am trying to convey. We can argue about benchmarks all day it serves Nothing.
> all decent calendar software has an option to display them

I suppose all those calendar software I've seen over the years ain't true scotsmen.
I honestly don't understand how a YubiKey is supposed to help me secure my accounts if I get locked out of my accounts when I lose it. I an trivially copy a keepass database anywhere and have dozens of backups. If I want to do the same with a YubiKey I first have to buy multiple YubiKeys and then I have to register each one on each site. This means they cannot be used as a primary authentication method because they always require a fallback option in case you want to reset your credentials because you lost your YubiKey. If I can't use the YubiKey to secure my E-Mail account then what's the point? I'll still need to use password based login and store that E-Mail password in a conventional password manager that I then backup a dozen times.

YubiKeys only seem to make sense in a corporate environment where you can always request a new YubiKey and reregister it based on your ID.
Exactly, I don’t want to delegitimize poverty, but I do want to bring up that a lot (maybe not even most, but a decent chunk) of people with money problems have spending problems rather than earning problems. I also know people with very high incomes that spend a lot, and now that you bring that up, it reminds me that the problem in aggregate definitely has to go deeper than innumeracy (though I still think this is a problem for a lot of people).

The issue I see with a lot of people in particular is spending too much on cars, food, (especially eating out) and clothes. If you make $150k+ in the Bay Area, whatever. But a lot of people with lower incomes get caught up in this. Where I’m from you can live by yourself decently on just $25k-40k a year, but you don’t have a lot of room for error.
Foreign Police Want to Bypass Privacy Laws–and Courts–To Get Data from Abroad
Status dev here (i.e. colleague with the benchmarker)
and prolific high-performance Nim libraries author.

Note that Nim standard library focuses on maintenance cost as the Nim team is small. When raw performance is needed, Nim gives us the tools to reach for it.

For instance at Status we use our own json serialization/deserialization library: https://github.com/status-im/nim-serialization and even Araq, Nim language creator, has his own JSON library: https://github.com/Araq/packedjson

This allows Nim to be in the top10 of json parsing in TechEmpower: http://www.techempower.com/benchmarks/#section=data-r18&hw=p...

Disclaimer: Status is the main sponsor behind Nim https://our.status.im/status-partners-with-the-team-behind-t... / https://nim-lang.org/blog/2018/08/07/nim-partners-with-statu...

Status is committed to Nim but we do have a pretty diverse stack (i.e. most of our code is in Clojurescript and we have part of the codebase in Go that we are migrating to Nim at the moment) and teams work very independently from each other, so other teams are sharing back their experiences with Nim.
Recommended resources for starting?
I think we're in the same boat. Even though it's billed as more punishing, it's actually just significantly more fair.
Python 3.6+ added this.
I agree, that perfect isn't the enemy of good, but this reasoning has led me to a totally different path: I chose to use good old LibreOffice, missing on those sweet collaborative and online features, for the goal of changing the formats that are used in the business space.
I’m confused about how you can give this advice so generally. It seems like you are saying that financial success always indicates a good process and is always a good outcome for society.

At the risk of looking either naive or mean: is this parody?
Uh oh. Never thought I'd reach the day I channeled Neal Stephenson.
I am in exact same situation as you and been looking for ways to get out of it. I'm looking for answers too here so not much to suggest but my approach is to learn a different tech/role that I find interesting and try to get job there, in my case machine learning. Try doing that and slowly overtime you will gain the skills and hopefully a job that makes some impact
BCPL?
I figure if it was important they would have sent a text in the first place.

Interesting, since my mobile hotspot gets dozens of spam text messages from Seattle-area car dealers each month.
Yeah that's going to screw you over at some point, I presume.

I had the California DMV try to reach out to be about some form inconsistencies and they only contacted me by phone and voicemail. (To their credit they left me 3 voicemails through a very busy day I had.)

There was no other way they were going to contact me before letting my car registration expire.
The problem here is really an incompetent CEO/company that people trusted. The same thing could theoretically happen with any tech company that decides to use the CEO as the sole key custodian.

E-mail companies would lose access to your e-mail, websites would lose access to SSL certs, JP Morgan would have a similar issue if they were stupid enough to give Jamie Dimon sole control of their encrypted customer account and investment databases. JP's funds may be slightly more recoverable if there were hard copies but it would still be massively difficult to track down where the money was invested and who it belongs to if account data were lost.
Depends on the stem classes. Most of mine charged ahead with the new material even if the last exam average was 52%, in fact that might be considered a very good exam average.
I don't think it's a big deal. Plenty of users aren't on Windows, and plenty of people have no use for code on Windows.
"If things seem crazy, they're usually crazy for a reason."

I underestimated how important missing context is to understanding why certain things are the way they are. It's easy to be "Captain Hindsight" but harder to have empathy for the decision makers who made things a certain way.
Dates and times are really screwed up as far as programming goes and there is not much to do about it since that’s the way the earth rotates around the sun and itself. Maybe we should start looking for a planet that has a precise 100 day year without leap years? That year can then be split into 10 weeks. Programming on this planet would be much easier.
How should social networks like Facebook and Twitter fight all the disinformation? Seems like it is pervasive.
In complex situations it is easy to come to the conclusion that you have to guess, but sometimes there is an elaborate connection you might have missed. This game is sure to call you out on any mistakes you make of this kind.

That would at least make this game more strict and perhaps even more difficult.
Direct link to proposed regulations (PDF): https://s3.amazonaws.com/public-inspection.federalregister.g...
Gaming Google is an old sport. Long ago we had a company here give free hosting for small sites. The catch was the their server inserted porn links when Google Bot visited the page. So many people were merrily creating their subdomains while secretly helping the porn rankings. It was infuriating and amazing at the same time.
Run a threadripper with the window open!
Why are all these tools DAGs?

I'm guessing I misunderstand what is meant by a "Workflow"?

My assumption is that these are managing a state machine, where workflow is stand-in for "Business Process"? If it's doing that sort of job, I'd expect timers and loops?

However, it seems these are aimed at data conversion pipelines?
This problem doesn't appear to exist at that scale (there exist some spammy call centers of course, and apps to block them...) in Europe.

In a previous HN discussion, it was pointed out by people in Germany that it does exist, and is a big problem in Germany. I don't know about the rest of Europe.
Snow Crash has been mentioned a lot here, is it an anniversary?
Is it intersting that people do not understand intuitively that this can only lead to 1984 sonner or later.

They will understand it only when it's too late.
As a PhD in Math, my opinion is that 0 is a number. Most language have special words to use when the amount is 0. For example, instead of "Five persons want to eat cake." you usually say "*No one wants no eat cake".
The computer history graveyard is full of architectures that were supposed to be superior by directly supporting the trending programming paradigm of the day.

The current microarchitectures for general purpose computing, that is OoO execution, cache coherent shared memory with a flat memory model, and mostly transparent and coherent caches seems to be optimal. In fact, far from being designed around C, C and siblings had to evolve to support the model well (a memory model, explicit SIMD builtins, support for vectorization and offloading etc).

It is entirely possible this is only a local optimum, but I have yet to see a plausible model for a better architecture.

It is more likely that, now that silicon is cheap and CPU designers are struggling to find ways to use it, extensions to support higher level languages might be added: more fine grained cache control for message passing, extra tags to help GCs, and more stuff that I can think of.
Yep. This seems to be one of those American things like prescription drug ads on TV.
As mentioned elsewhere, Intel uses "Work Weeks" for everything. It might be great for manufacturing where a wafer takes a specific number of days to make it through the fab, but it inflicts horrible pain on the folks who have to deal with it and the outside world. My doctor, for instance, stubbornly pretends to not understand when I ask for an appointment in WW04!

December 30th, 2019 is WW01.1 2020 in this calendar. I bet no human in the world knows their WW 2020 birthday.
They recently implemented a pretty restrictive freemium subscription model that has tempered my enthusiasm for it massively. 50 snips a month is nothing for grad students.
I would hesitate to label yourself with those ambiguous terms, especially if it's in any negative light. It's like trying to differentiate between "software engineer", "developer", "programmer", etc. It's mostly made up, and the points don't matter.

If you're interested in joining one of the FAANG companies (if only to dispel the myth that it's all real impact), a strong computer science foundation is very helpful. Unfortunately, success in their interviewing processes is more reflective of your ability to solve algorithm problems on a whiteboard rather than your ability to get work done, but the good news is that like anything else, it's doable with a good foundation and practice.

The next question is what to do once you make it to one of those companies and find yourself stitching programs again, but that exercise is left to the reader.
Still, most are things that old Presario could do with a dial-up connection. Sure, some might require a Pentium 4 and ADSL, but the smartphone isn't a revolution. The Personal Computer and the Internet were.
Working for yourself is much better for those of us in that situation. No commute and control over your schedule helps tremendously.
I have heard this excuse many times. Again, you are not paid to ship code. You are paid to ship product features.

Those open source libraries might be tested to exhaustion, but not in your application. Your application still needs to be tested either way. The presence of excess code does not eliminate defects but rather moves them to locations less obvious which means they are harder to find by the end user and just as costly to fix. That is the very nature of debt.

Regardless of who owns the code you or your team own the product.
Because the only alternative economic system, Communism, was a total failure at drug development compared to the system we have. We have an example of a working system and another, much less productive defunct competitor.
bash? (outside of mingw/wsl/cygwin)?
This is a huge problem and most sites that do report the price often report it wrong. If you are interested here is the realtime price segmented via a streaming pool of reputable exchanges that stream their trades directly for tally vs. tickers. So the accuracy is high and by the minute. API is also available. [1]

[1] https://blockmodo.com/quotes/BTC
Every npm library has its own copy of its dependencies. This duplication is what causes the huge number of dependencies.

This duplication is necessary because npm is not a curated software distribution designed to work as a cohesive system. Anyone can push software to npm. As a result, there are packages that depend on different versions of the same library and they must have their own individual copies of the dependency in order to work. This isn't the case in a Linux distribution with maintainers: there's one instance of the package that's shared by all other packages.
There's Itanium ABI, you can use C type interfaces when needed and suppress name mangling. How do exceptions make it unsafe? They're part of idiomatic C++ and solve a problem without anything unsafe about them. And what are the many of the "awesome C techniques" that you can't do in C++?
The variables would need to be constrained to be integers/booleans. And Integer Linear Programming is NP-complete.
We were tempted to do so but ultimately chose to rely on our internal SAN (55 employees).

How many employees in your office ?

Our motivations:

- people still losing files in "that send thing"

- storage dedicated to send is shared with the SAN so there is no advantage in the expiring link.

- missing configuration settings (aka we didn't want to fork it for a few switches and maintain it)

We also decided to take the opportunity to educate our users in file management.
> Using imperial and fractions of inches for that kind of work was more intuitive for me and a lot easier to figure out in my head. I find it a lot easier to mentally add fractions than decimals.

Imperial fractions also tend to use base-2 numbers as the denominator. I'd be willing to bet that you infrequently saw anything that used thirds or fifths. Most everything would have been halves, quarters, eighths, sixteenths or even thirtyseconds of something.
Sure. Foreign function interfaces (FFIs), also known as ctypes, are probably the best thing to point to as glaring examples of how C holds us back. Once we start there, then a spidering network of technologies are highlighted, all surrounding C, from dynamically-linked code objects (DSOs and DLLs) to the required usage of '%' characters for printf-style string formatting via templating.

We need to move beyond memory-unsafe paradigms already. Assembly intrinsics aren't great but they're certainly better than C.
I'm 41, born when my parents were in their very early 20's, and my Grandpa missed Korea during his draft, he was out before it started. You must have much older parents.
Ask HN: How to pair down from too many ideas to the one(s) to pursue?
I understand and practice "Brainstorming" and I understand and practice "Minimum Viable Product"; but how to narrow down to 1 or a few ideas when one has too many ideas and all seem viable enough?
Labor is one of the largest expenses in part because it has to account for the inefficiencies introduced by turnover (including on-ramping, i.e., training). Many of the jobs deemed "unskilled" actually do require skill and experience to perform in a proficient manner.

It's true that anyone can flip a burger or poor a cup of coffee, just as it's true that anyone can hunt-and-peck a command; it's something else to be able to manage a kitchen and dining room with one or two assistants during peak, 6 hours into a shift that was scheduled with only a week's notice, observing food safety practices and producing the correct order from dozens of options in a timely manner and with unflappable hospitality, as many food service jobs now require of their employees. This while people complain about the difficulty of hosting family for dinner once a year.

Class, race, and gender associations have much to do with our perceptions.
> Some people enjoy dominating and belittling others

I suspect that's partly behind the preference for foreign workers who are tied to their employers for visas: they'll accept a lot more abuse than somebody who can just pick up and find another job tomorrow.
There you go https://github.com/meirwah/awesome-workflow-engines
I just implemented this at a telecom. To expand a bit, the three levels are A, B, and C. There is also of course empty (no attestation). Three levels of attestation are roughly:

A = I know the customer, they own this number.

B = I know the customer, can't confirm they own this number.

C = I'm sending this call out, but I know nothing of the customer or this number.

Carriers sometimes don't want to receive anything other than A, because its probably useless to them. By that I mean, if it's not A, they don't want to be sent the attestation level or identity header at all.
for i in range(1,1000):
print sha256("lol what's entropy" + i)

This passes dieharder. Completely meaningless.
The content generated from Mathpix Snip can be pasted into any Latex compatible editor, so that avoids the lock-in you sometimes get with proprietary WYSIWYG editors. Plus as I mentioned we'll be open sourcing our rendering engine soon.

Thanks for the suggestion about adding search capabilities, we're thinking about this.

If you curious about it, I would suggest to just sign up and try it. If you spend a lot of time typing up Latex it's definitely worth having, especially for matrices / aligned equations.
> I envy those working in startups on cutting edge tech. Those at FAANG making real impact on the world.

Startups don't work on cutting edge tech. FAANG employees aren't making any more of an impact than you're making wherever you're working.
The only people who do understand have already been labeled "hateful".
From the beginning of Dagster's readme:

> Dagster is a system for building modern data applications.

> Combining an elegant programming model and beautiful tools, Dagster allows infrastructure engineers, data engineers, and data scientists to seamlessly collaborate to process and produce the trusted, reliable data needed in today's world.

Two paragraphs, communicating zero bits of information. I wish Github repositories, of all places, didn't contain such noninformative copy.
Often, people know what something should cost, but they have to buy it through some other more expensive channel for any variety of reasons.
Working N hours in unusual schedule is different from working N hours in usual schedule and then being on call.

With the former, you get some compensation, for example you may work on Saturday but have a free Monday. Depending on your priorities, it may actually be a good deal -- there are things you can do more conveniently when you have a free Monday.

With the latter, it's "when you're at work, you're at work, and when you're at home, there is still a tiny voice in your head remininding you that your boss could call you at literally any moment". This may limit the ways you spend your free time, for example you can't go to places where it would be impossible or very inconvenient to get quickly online when called. And generally, you just can't make promises even about how you spend your free time.

For a sufficiently large company, it should be possible to find a few people willing to take an unusual schedule, and then the company could be covered 24/7, with every employee able to turn off their work phone the moment they leave. It's just... more convenient for the managers to do it the other way round.
I'm disappointed that there's not an acknowledgment of the (speculating here) 6 yr old who donated legos to the cause after one of the investigators stepped on them barefoot at 4am.