skysight-inc/HackerNews huggingface dataset:
> 3. Functions should have extensibility, put the required parameters as parameters and always include an “options” at the end. Each function can have defaults that you can extend, which means you need a deep-extend method:

counter-point: why not write functions that take the arguments they need? if they need more arguments later, why not add them later?

> 4. When in doubt whether to do convention A or B, take a bit more time to do C which can handle both, and add the convention in a config. You never know when someone may need something else!

counter-point: why try to anticipate future needs? maybe it won't happen. maybe it'll be something you totally don't expect. you should write code that's easy to understand and change, so it can react to future requirements. you should not write code that's bloated with unnecessary features, because it slows down your future ability to iterate.

> 5. Similar to 4, if you can have an extra indirection, add it. So you can let others hook into “before” and “after” hooks at any point. Use events instead of functions.

have you ever tried to figure out how a piece of functionality is implemented, only to go chasing it across 10 files because of indirection? have you ever had a piece of code that runs, but you don't know why it's running because you can't tell which things are firing what events? have you ever had to ask the question, "what happens when i execute this function", but been unable to answer because of hooks/observers that are not directly connected to that function?

my counter-point: use the barest minimum of functionality you actually need. stick with functions and maintain linear control flow with minimal side effects.

> 6. In fact try to have event driven architecture rather than futzing around with mutating data. The easiest way to sync is to maintain a linear total order for events.

if you have to mutate data, you should mutate data? not sure how events save you.

> 7. Think about how lookups will proceed and partition everything by those keys. Sometimes you need to have duplicate tables and keep a sync from a “primary” table to a “secodary” one in the app layer. Doing this allows you to do sharding or even go serverless peer-to-peer later!

wow! serverless peer-to-peer! i can't wait to re-write my app, i'm sure my customers will love the new architecture! /s -- on a serious note, while distributed sync is sometimes required (for instance, state kept in the JS front-end app that is a copy of the DB-preserved state on the backend), keeping them in sync can be a nightmare, and you should avoid this at all costs if possible.

> 8. Security: more checks are better than less. Pile on private keys, bearer tokens (api or cookie), and so on. Use a device keychain

in my experience, 80% of all bugs are security bugs (that number may be as low as 20% if you use the OPs advice to increase your bug count). while security is important, you should avoid "[piling] it on", and instead be thoughtful about it. separate authentication (accomplished with keys/tokens/etc...) from authorization (accomplished through checks of the identity at points of functionality).
Kim Sneum Madsen Promoted to CEO of Umbraco, the “Friendly”(CMS) Provider
You're right, but that doesn't fit in a snarky one-liner.

If we were serious about this bone mass minimum, we'd need to consider why there are fossils of smaller animals, or big but hollow-boned animals. That's a rabbit hole with many hypothetical variables.
I think it only support 1 uav. The issue have already stated about that: https://github.com/microsoft/AirSim/issues/1540
While it isn’t exactly what you’re looking for, this is the closest thing I’m aware of for pure JS: https://prepack.io/ and outside of that o guess you’re looking at WASM, although I know this isn’t exactly what you were asking for.

But if your goal is to compile a little closer to v8 then you’d have to set v8 as your compilation target, making that only really worthwhile on the server (since you’d be missing out on all other browser runtimes). I could see such a thing being pretty useful for something CloudFlare workers where startup time is vital, and your execution environment is guaranteed to be v8. Unless of course they’ve managed to always keep them hot.
Some people face challenges to their very right to exist online. Muting the people who say such things is easier than fighting or coping.

Look up spoon theory for a practical explanation.
Repo Market Spike Carries Echoes of 2007-2008
Excel is huge in finance, accounting, and marketing. I don't know why anyone in those fields would routinely use JSON files.

If there's JSON somewhere that's relevant, a dev will usually just change output to CSV or something.
China is a huge book market, the biggest problem for Chinese writers is piracy.
Isn't a cutlet a small cut?

As in a small "cut of chicken" is a "chicken cutlet?"
> hybrid approach where you pay for a number of monthly credits

We can call this the Audible model if you like
Would it be possible to evalute n randomly generated neural nets to find the best one?
Modern C, Second Edition
Google fiber came into my neighborhood this week and nearly every single person on my block came to the install demonstration. These old companies are going to die and good riddance.
We really need to start voting against politicians that are in bed with comcast and At&t. Is there some kind of list or online database where we can see which of our local politicians are supporting comcast and at&t with these horrible regulations that prevent open competition?
The author doesn't mention decarbonizing electricity in the first few paragraphs. He simply claims ML is driven by fossil-fuel electricity, when in reality the electricity mix for computation is increasingly green over time. Since computers don't need anything except electrons to run, it's all about power sector emissions here, and that's a bright spot in climate relative to transportation, industry, and agriculture emissions.

It'd be far more effective to have a Renewables revolution which pushes the scale of wind, solar, and batteries much higher. That would be far more cost-effective than a Luddite revolution which would ban computationally and data intensive practices in all the most valuable companies.
> shouldn't that hold for most programming languages then?
Only for interpreted languages that have a native implementation of the JSON parser (that is the json parser isn't itself interpreted)
It’s interesting to see this article for me because it is similar to the “Bitcoin is bad because CO2” articles and arguments that arise from time to time. To which I’ve unsuccessfully attempted to argue you can’t really say Bitcoin is bad and shouldn’t be allowed to exist for that reason without also agreeing that other stupid things we do with computers should suffer the same fate. Which surprisingly attracts a fair amount of defenders for the Snapchat et-als.

What we can do is to be neutral to how it’s used, and instead make sure that electricity is appropriately priced to cover its externalities. That means a carbon tax. The same solution is still the right one for Bitcoin as it is for other silly computer uses mentioned in this article. If it becomes too expensive to deliver Snapchat when electricity is properly priced then Snapchat won’t exist. So on.
YAML Engineer Role at Scribd
FP and OO Are Converging
Interesting pivot; thanks for sharing that context. Did you get a chance to interview some of your customers to learn more about why the report-based workflow wasn't interesting to them? While spreadsheets can be used for narratives, they aren't exactly the best medium for them because of their multi-dimensional nature.
There's a bunch of overhead associated with reading a constant from the program and moving that to the register.

Math operations, on the other hand, are very simple to do because it's baked right into the CPU, only requiring one instruction and a few cycles
I have and forever will find it extremely stupid to threaten someone with expelling them for trying to HELP you do your job.
I get .arpa in my logs sometimes. But I think that might be a legacy routing thing.
Its impossible to be precise and measured many years into the future, sometimes the situation is too complicated to be able to be modeled accurately.

But trends are visible, and things are happening. We just ignore them to prevent reducing consumption.
"Now imagine the Marine Corps Cyber Auxiliary cast in the image of the President’s Own. Attracted by the prestige, the mission, and the powerful capabilities of the Marine Corps’ most elite cyber unit, cyber experts join through the President’s Own process. Many of these cyber experts have exploited and defended computer systems since age eight, apprenticed under the best cyber professionals, and worked for hacking groups or top cyber security firms. After passing through initial offensive and defensive cyber challenges online, the most successful candidates come to Marine Corps Base Quantico for a full day of testing and interviews. If they meet the demanding standards required by the Marine Corps, they sign a four-year contract “for duty with the U.S. Marine Corps Cyber Auxiliary only” at the E-6 pay level with full benefits."

This seems like an effective approach, except for restricting pay to the E-6 level. After adding in BAH, the pay comes out to around $70k (assuming they are based in the DC area). Not sure if prestige and honor is going to cover the difference between that and the market price for a software engineer.
Are they patented?
Agree with you. The only consistent experience for me is BitTorrent. But trying to google watching a movie for free? Does someone actually do that? It's always hundreds of popup, fake links, fake ads, and can never really get to the actual content.
Well, the engine already uses a lot of tricks from that era as far as I can tell: it's isometric, so "fake" orthogonal 3D, and uses sprites with different angles to view them from under the hood for the buildings and trees. It then renders all of this to ASCII with WebGL, which I presume generates a sprite-sheet.

Also keep in mind that games like Zarch[0][1] (aka Virus[2]) already existed in 1987. The ASCII actually hides the fact that we have a low rendering resolution, which may help a lot here.

So I think the main limitation might be the tricks required to render to ASCII, and time it takes to display those ASCII characters. Assuming the implementation tries to make a pure text-based renderer instead of a bitmapped one.

Searching on pouet.net for "ASCII" doesn't reveal many demos[3], but the few that exist look pretty cool[4][5]. They lack separate foreground/background colors though, which bring up one important point: what terminal are you targeting?

Anyway, I'm pretty sure there are more demos out there that basically render to the console but I don't remember the names right now so can't find them.

[0] https://www.youtube.com/watch?v=xrN2soK60bA

[1] https://www.youtube.com/watch?v=L7J5_5GZzeg

[2] https://www.youtube.com/watch?v=V1sYsOm-y8w

[3] http://www.pouet.net/search.php?what=ascii&type=prod

[4] https://www.youtube.com/watch?v=kwy5RhRNVt0

[5] https://www.youtube.com/watch?v=ZuhO1pHsKtU
Ad hominem. Attack the idea not the person. Just because someone has a different view than you doesn’t make them a sociopath.
> It’s the only open-source compiler of it’s kind.

Huh?!?

Microsoft Q# was open sourced this spring, I believe
that is an awesome grassroots solution :)

btw if anybody wants to add some goodies to plex, i created browser extensions that add trailers and random sorting. check them out!

https://github.com/conceptualspace/metatrailer-for-plex

https://github.com/conceptualspace/shuffle-for-plex
I have a domain there, been using it for years, where else do you find 3 letters domains
Hmm, I'm not familiar with that hardware so I certainly didn't install one. Rather than talk to them about troubleshooting, I took the more blunt approach: dump Comcast! (Hint: if you're moving from one big ISP to another, the new one will likely cover your termination fee)
In the law, what does it mean for a country to enjoy "self-rule"?
My rule of thumb is closer to 2x-4x full time salary. Partly because full time jobs tend to come with a lot of opportunity costs and few benefits. If you're in a world where company health insurance is very valuable, or get good working conditions and lots of paid leave, the multiples should be much higher.

Also if you're considering quitting a comfy Microsoft job to freelance, you better be charging a lot.
Schumer really is "elected" more than "appointed". Even in his role as Minority Leader, which is somewhat secondary to being a Senator, it's an election that puts him there. The lowest class in this particular hierarchy are employees.

The difference between the two can be significant, especially in matters of protocol. And the results can be surprising: On some seating charts, a small town mayor (elected) may get a better spot than the Chairman of the Joint Chiefs (Appointee), or the Director of the Fish and Wildlife service (appointee) is mentioned before a senior advisor (employee).
That's good to hear, but after how long and at what cost to you (time on the phone, sending documentation, basic stress, etc.)? And even if the mistake can be corrected easily, it's still better to prevent the mistake in the first place.
That is awesome. CPAP did fuck all for me. And they won't let me have the surgery. FML. OP, get tested, it could be life-changing.
There is no way of knowing someone won’t do a.foo = window.alert later though, unless it’s a frozen object
David Swensen Made Yale Fabulously Rich and Changed Endowments
Market theory must accommodate things like piracy, just like google considers fines just some risk in their practices.
They say in the linked article that this should only be used for objects about 10kb and larger.

I'd argue that if you have 10kb or larger object literals in your codebase, you are already missing the mark on readability and maintainability in some ways.
Stack machines were never very popular outside of Burroughs. Burroughs built several of them implementing a number of elegant ideas.

When Algol first came out, they put a grad student summer intern onto the project of writing an Algol compiler, from scratch, for one of the stack machines. The intern completed the entire compiler in one summer. So, the question is, was the compiler a single summer intern project because stack machines are so well suited to Algol, or was the compiler a single summer intern project because the intern was Don Knuth?
I wouldn’t mind having this in my build step, as it’s all minified and unreadable anyway, so what do I care, but I agree with you fully.

Not only would you be missing out on readability, none of your linters will catch errors within that string any more and if you use something like prettier, well, god help you. You’re almost guaranteed to introduce more wasted time than you’ll save with this doing it manually.
It's not like React.Component is gone, either. Still there. I think it's still the only way to make an error boundary component, too.
Yeah, seriously. I can only remember problems discerning characters with the I, l, and 1 in Ariel. Unless there is a kerning problem, I've never had trouble discerning lowercase i and l. Just like I've never had issues discerning b and h. They have similar strokes, but are clearly different.
Doesn't seem all that rare to me - I'd say about 90% of retailers accept it, including essentially every large retailer.
10 years ago we had a financial crisis. 80 years ago a Great Depression and world war. So far it seems like N > (generation age) is the minimum before we forget. No one seems to care about the Panic of 1907 for instance. The issue with the future is that data granularity is greater so more precise measurements can be made. We would likely have more exact (something a little bit closer than what we guess today) models which should spur us into action no different than it did yesterday, except maybe with more urgency...... Maybe.
> Still a more grounded GQL will allow Neo4j competitors to gain on them.

Can you expand on this? What do you mean?
The discussion became a dumpster fire / flamewar and was probably repeatedly flagged.
AFAIK (I'm not a js expert) there's not a huge difference behind the scenes.
Just because saying "stealing" makes you feel morally self-righteous doesn't mean that physical goods and digital files are the same thing.
> The only people I'm aware of that can publish classified information without punishment are journalists.

Everyone has the right to publish classified information, unless they've signed an agreement not to. There's no Constitutional difference between journalists and non-journalists.
"History books" have value in aggregating and presenting information with historical context. TLDs are artifacts without context. A history book that covered the 20th century and blandly mentioned that the Soviet Union was a collection of communist states, without mentioning any other events or context, would be similarly irrelevant, and should be relegated to the trash heap. Same with the .su TLD. We should definitely keep the historical records that it existed, but there is no reason to continue its actual existence at this point.
Well, they are suggesting it for literals that are 10 kB or larger. That means they aren't really talking about code that's in your normal codebase - it's quite rare to have a literal that large. It is more likely this is relevant for backend tools that autogenerate JavaScript code to be sent to a client.
FlavorCloud: Easily Ship Internationally
I guess this explains where all the communism apologists on Twitter/Reddit/HN came from.
> they have paying and active customers who want improvements

My experience is that when software reaches a certain level of maturity, major 'improvements' to the UI are driven very much not by the users.

> Not enhancing UX because some users might have already gotten used to the current setup is rather shortsighted

Perhaps. It depends proportion of 'some'. 1%..99%, it depends doesn't it. You're pushing for change with no quantification of the value of it. If it ain't broke, don't fix it, so first find out if it's broke.
What are you doing with your phone? Run bittorrent unthrottled 24/7 just because? I use about 300mb a month, rest is covered by Wi-Fi at home or work.
Yeah earning that A in Sociology 101 really changed my life's trajectory.
I think what happens in deals like this is that Amex buys bulk memberships (in the case of We) and credits (in the case of Dell) at a heavy discount. They are also betting when doing any financial modeling that a significant % of cardholders won't use these benefits at all.
They've expanded it to cover anyone who gets their electric from EPB which is a surprisingly large area.
Less politics, more money, same intelligence.
My bank allows arbitrary length, but enforces certain special characters while disallowing others. Which means I can't use the (long and secure) password and have to write it down.

Not sure what they hope to accomplish.
Google Forms direct links use forms.gle
Isnt this everyone who is coding these days? ;)
Steam has sales all of the time, it's the Amazon of games, and it will always be cheaper on a Steam sale than the developers website.
Please please please make an IOS version!
"It reveals the deep problems with classifying humans — be it race, gender, emotions or characteristics. It's politics all the way down, and there's no simple way to 'debias' it."
Error detection vs. error correction are very different things. It's true that many physical qubits (and a proper error correction scheme) are required to implement a single logical qubit. But once a valid design for a single logical qubit (device, error correction, etc.) is realized, the limits of scaling the entire system change completely (infinite t1 of each qubit means you don't NECESSARILY have to have all of your qubits on the same device...)
Thank you for that.

It seems so many people skip the obvious in these debates. Comparing the situation of Chinese authors and artists to that of German authors and artists is not even apples to oranges, it's apples to skyscrapers. Obviously the Chinese authors have a captive market that, to be honest, no one even really knows the size of. We only know that it is at least 6x that of German authors. Not to mention Chinese cinema which frequently take their novels and make movies out of them.
Epstein clearly wasn't treated as pariah even after a pedophile conviction so your statement is not always correct. Ditto Roman Polanski.

Kissinger is a war criminal. He's not treated as such. Truth and morals therefore aren't the only factors in the political-legal system.

I still want there to be a definition of war criminal, even if there isn't an agreement. Ditto for pedophile.

Discussions are worthless if people don't don't listen. Stallman wasn't listening to the existing discussion when he made up his definition of what "sexual assault" means.
City Blocks Email Account of Alderman Who Refuses Cybersecurity Training
Maybe a short family weekend trip is in order. SF is getting so outrageously expensive.
That is a language and programming framework, not an optimizing compiler. (To my knowledge, it also doesn’t have any real quantum computer backends.)
To be honest I don't know the correct medical terminology. As far as I know nothing broke, there was definitely some kind of dislocation but basically I just rolled it hard enough where it got into some state it wasn't meant to get into and I had to pop it back into place.

But if anything this just reiterates the point to me. These cases aren't black and white, what i referred to (possibly incorrectly) as a sprain may have truly been some other thing and maybe that diagnosis would have somehow been "more deserving" of effective pain relief.

At the end of the day, it seems like the only valid criteria for me deserving pain relief is my opinion of whether or not I want it.
This is a good read and I'm a fan of Julie's thoughts and her recent book. However, at least for smaller teams (<50 engineers), I don't agree with "Effective managers are typically not involved in the details of the team’s technical work." Instead, I'm a big fan of being able to "lead from the trenches" when necessary. Giving value-added comments in pull requests or design reviews can be a great way to "power-level" your team. Sure you don't have to be the one coding, but its good to know the technical reasons driving decisions. Maybe we don't need a fancy event-bus for communication between these two services in this case. For smaller teams, I'd prefer "Eyes-on, hands-off" management--but it would be hard to be eyes on if you are not involved, at least as an observer, in the details of the team's technical work.
This only matters for one's first job, if that. Afterwards it's irrelevant. Regardless of what the job description says, it's never mattered in my experience working at well over a dozen companies in the last twelve years or so.
We manufacture enough on our own thanks to the implicitly Marxist nature of our higher education.
Couldn't agree more. I think climate change is taking too much of the political oxygen out of the room, leaving no awareness for the plethora of other environmental problems that we can actually all agree on and solve.

EDIT: Unfortunately there's little room for nuance and discussion when talking about environmental problems in today's political climate. People are just downvoting me because I implied not everyone agrees on climate change, which shouldn't be a controversial fact to state, but alas it is. I would appreciate if the people downvoting me would provide a substantive reply though, because otherwise the downvotes without replies seems to simply just prove that people are unwilling/unable to have a nuanced discussion about environmental problems.
Or in short: It's an untestable claim. No possible result of any experiment will count as evidence that there isn't a magic security system in place that will protect you but that through its magic figured out that your legitimate access was legitimate.