skysight-inc/HackerNews huggingface dataset:
In my experience the best reuse comes from studying the domain and existing code first. Pre-guessing without experience in the code base and domain often results in the wrong abstraction. And don't hard-wire yourself to the abstraction: allow one to use the "long-cut "when needed. Almost no abstraction fits 100% of cases.

For example, suppose you make a DrawTextBox function for a UI. Make each component of it relatively independent so that if you can't use the entire function, you can still use most of it.

function DrawTextBox(fieldInfo) { // full version
DrawLabel(fieldInfo);
DrawInputbox(fieldInfo);
DrawExtraNote(fieldInfo);
}

Suppose you had to customize DrawLabel for a particular spot in your code:

// inside application code
myCustomizedDrawLabel(fieldInfo)
DrawInputbox(fieldInfo); // regular sub-function still works
DrawExtraNote(fieldInfo); // regular sub-function still works
etc...

Here we can still reuse some of parts even if we can't use the entire text-box abstraction. It's "fractal reuse": big abstractions, smaller abstractions within, no abstractions at the bottom. One is not forced to use the top levels if they don't fit.
I'm probably missing the point, I use groups in Signal but I never faced any issue. I'm probably not a power user. Can you provide more details please? I'm curious about it. Thanks :)
When we are finished maybe.
Turns out Conrad Irwin was right, but didn't take it far enough. Merge together "Events" and "Operations" into one thing, call "Models" just "state" and you've got Reactive Programming, which appears to have proven itself as the best known way to manage UI state complexity.
I still see MVC in $dayjob, but it looks like React/Redux have helped a lot. A central module manages state and takes operations on that state. The desired view hierarchy is computed as a pure function of state. A library uses diffing to apply changes to the concrete implementation of the views (say, the DOM, or a native windowing framework).
Well, it is an important question, when talking with a manager.

But I find it to be of a totally different caliber than "Hey, what’s going on?" or "How are you? How is life outside of work?".

Vide asking "How was your last medical checkup?" in a personal conversation. Well, if it is good or OK-ish, it may be fine. In all other cases, it may turn a conversation into much more emotionally instense and sterssfull.
It sounds completely trivial, and mostly is.
Disclosure: I work on Google Cloud.

Sorry for the confusion. We should be more clear and explicitly state "now rolling out". Over the course of our multi-day rollout, different regions and the console will start showing these.
This is going to sound glib, but you can just keep using what you have now.

If you take a look at [1], the maintainers of request aren't "deprecating" it in the sense that they won't touch it ever again. It really just means that there won't be any more active development on it, no new features or breaking changes will be accepted, and some housekeeping had to be done to allow it to accept security fixes without relying on one specific person to be around.

The code will still work (and probably for quite a while), and security issues will still be addressed, it just won't be changing much if at all from now on.

[1] https://github.com/request/request/issues/3142
And if it doesn't, it was always possible to break GKE state into "offering" node types that were not supported. Source: me, using preemptible instances for a year before they got into GKE ;-)

Modifying instance group templates is your friend.
It’s all pros and cons. This is very much one of the big negatives of unions. That said, they also are one of the bigger drivers of worker pay increasing over time. In an era of massive income inequality, it’s a loss. I wish there was a way to get best of both worlds.

—-

I’ve always felt ESD stuff is way overhyped. I’ve handled a ton of electronics over decades without any ESD protection, and never had an issue. I just touch metal once before starting in while seated.
Tech companies in NYC (the likes any one would recognize) who have DCs in NYC area are affected.

If you’ve worked with them in infra you’ll have come across issues like so and so left for the day. They’ll be back tomorrow and so on. It could be as simple as flicking a switch.
MVC certainly isn’t dead. My current team supports a system implementing MVC attributed over $65MM a year and is in still active feature development.

Sensational title at best.
2019, a record year for KSA startup ecosystem with 71 deals and $67M VC funding
I think they're quite good at authentication. They're less good at authorization when you want to update that faster than expiry times.

Once you go down the path of checking a DB along side the JWT your design has gone off the rails. Either the expiry works for you or it doesn't. Don't try to "fix" it.
They have marked the package as deprecated on NPM. https://docs.npmjs.com/cli/deprecate

See the banner on this page: https://www.npmjs.com/package/request

They are urging people to consider the enumerated alternatives.
> a historic win for unionization efforts at tech companies.

Kickstarter is a small company which isn't representative at all for other tech companies, so I doubt this will mean much for efforts at other companies. For example, a majority of their staff at every level are women (a quick glance at their linkedin shows that this is likely true for engineering roles as well) but that doesn't say anything about gender equality of the tech industry as a whole. It is very easy to make wins like this at small companies just by having random (or sometimes not so random) perturbations.

https://qz.com/923957/kickstarter-is-teaching-the-tech-world...
Scientists call for reform on rankings and indices of science journals
Well, for one thing, the good times won't last forever. Now's the time to prepare for the bad—it's much harder to organize when you're weak.

For another, despite our compensation we're still much weaker at the bargaining table, individually, than our employers. See how casually so many of them reject applicants just to make sure "false positives" don't get through the hiring pipeline. I'm not saying they shouldn't do that—it's not my point—but it's definitely a sign of who's setting the terms of these interactions, and where the power is. And it'd be incredibly unusual if that weren't the case, as the overwhelming norm is for employers to have a huge advantage in labor negotiations versus individual workers, even if circumstances are currently such that those workers are paid a lot of money.

And then, software development and related jobs are not all at FAANG, or even close to that. Many of those working in software aren't negotiating, individually, from a position even a little better than a "normal" office worker. Probably most, in fact. There's a whole world of software developers out there beyond SV, Seattle, and New York—the average state of a worker in our industry, even just in the US, is probably much closer to the norm outside those places than in them.

It's also a proven avenue for putting a stop to all sorts of abuses that exist due to the uneven power of workers and employers, not just direct compensation. Lots of non-California workers in tech are under badly disadvantageous employment agreements, but without working collectively, either through unions or government, against them, they're so common that resisting them carries high individual risk and a low chance of benefiting anyone else who's in an even worse position to resist them. That flexibility to work or create our own businesses you bring up? Yeah, that could be assured for non-California, non-public-figure-rockstar developers, too, through union negotiations.
> very in demand

Who, exactly, is highly in demand? There was a post on here last week from somebody who had gone on, I think, 40+ in-person interviews and hadn’t gotten a single offer. It’s well established that experience actually works against you in this profession; you can end up being too old long before you hit retirement age. Influential hiring authority Aline Lerner argues that people with Master’s degrees should be rejected in favor of those with just Bachelor’s degrees; education can work against you, too. There’s an unprecedented market for 30-year-old developers with specific education and experience; if you’re anybody else, you would have been better off getting a business degree. To paraphrase Bane, “Do you feel in demand”?
Doesn't that mean that all the employees taken on a much greater personal risk? Personal risk seems to have higher stakes than financial risk - so it's unclear why financial risk is so prized. When you lose $2 billion because your company fails, workers are thrown out onto the streets. What makes the $2 billion risk more valuable than peoples' livelihoods?

I'd rather be a multi-billionaire who loses $2 billion than a mid-level worker who loses their job (and for a proper comparison you'd have to aggregate all the trouble caused by all the job losses the closing of the company has caused), especially in a country with a smaller social safety net. That alone tells me enough about the value of this "risk" supposedly so greatly undertaken by the owners to entitle them to perpetual gains on it.
I'm not sure video ever went as far as many people think it does in terms of criminal prosecution. My experience suggests that video alone is often not enough for a conviction.

I'm one of the increasing number of helmet camera cyclists. Last year, a driver nearly hit me head on and stopped nearby, so I went over to politely tell them to pay better attention. They got angry and tried to assault me with a screwdriver. Once the driver got violent, I left, shouting out his plate number for the camera, and then called the cops. The cops arrived a few hours later and loved the video. But after working with a detective, it became clear that the video probably wasn't enough to get a conviction. We had to get a second independent piece of evidence placing the driver at the scene of the crime. In this case, the driver was working for Uber, whose GPS tracking placed him at the scene at the time of the incident. (I had no idea the guy was an Uber driver, and I'm thankful that the police had the insight to suggest this possibility.)

Just last week the driver plead guilty to disorderly conduct, after the charges were reduced as part of a deal made with his lawyer.

You can watch the clip here if you're curious: https://www.youtube.com/watch?v=trSB3mK78bs
I've live-TeXed (that is writing notes in real time during a lecture with LaTeX) before way back in college during math lectures.

It was a so-so experience. Math lectures for me require a lot of thought to follow otherwise I quickly become lost (often I'm lost even if I try to follow along) and the added mental overhead of TeXing on the fly often times pushed me away from actually understanding what was happening in the moment. Instead I'd have to review my notes after lecture to understand what was going on. LaTeX's batch compilation was especially infuriating, because a single error could cause the whole document to stop compiling and then if I didn't have the time to correct it, it meant the rest of the lecture was going to be visually represented with an editor and only after the lecture would I go back and correct the error.

On the upside it was way easier to go back and review my notes/make them presentable for others. Also, similar to the Matrix, after a while you become familiar enough with LaTeX that you don't need the rendered display anymore to read what's going on, so the non-compiling part becomes less of a problem.
I have been using Docker on OS X for a while, haven't had any major issues, but maybe my experience is atypical.
Yeah, they are very different things. One is for text/inline flow and the other block flow. As a fan of CSS Columns (multicol) I hope that the interaction between Columns and Grid gets better standardized. (In my case I wanted better support for embedding Grids in columns; my tests worked in everything but Firefox. So it is interesting to me that Firefox seems the most interested in pushing multicol forward as a standard [1], since it stopped being a Trident/Spartan priority when Windows 8.1/10 abandoned multicol as a key UX principle of Windows 8 apps.)

[1] https://hacks.mozilla.org/2019/11/multiple-column-layout-and...
I'm not sure this pattern as described is comprehensive, but the move away from MVC to other event-based patterns like React/Redux, Elm, etc, clearly did happen. MVC of course still exists in the world.
I use Chrome Remote Desktop, but I imagine any similar system would work too. This Wikipedia page has a server/client/OS support matrix for various systems:

https://en.m.wikipedia.org/wiki/Comparison_of_remote_desktop...
He wrote influential software engineering textbooks on patterns, agile development, refactoring and the like. I'm not sure how relevant he is today, but in the 90s the ideas he presented were pretty groundbreaking.
The quote at the top of the comment chain is about living a wretched existence. Don't get me wrong, it's totally fine to form a union on the principle of "we're doing okay but we want more stuff", businesspeople are allowed to try and get richer with no higher principle in mind. But it's dishonest to pretend that it inherits some kind of inherent moral weight from the traditional labor movement.
The 'law' is more of an observation and generally applies to headlines. I feel you are being overly dismissive, as a question is being asked is in a dedicated section. There have been instances of CA's, most notably Symantec, which have turned out to be bad apples. There is a constant stream of news dispelling myths surrounding seemingly reputable firms regarding encryption/privacy. Whether these incidences are related or not, discussions like these need to be afforded a lot more leeway than most, and fleshed out, rather than being stifled.
I think we all have "NPM/JS bad" fatigue.
Probably because it resonates as a real problem despite the upsides.
The original release of FreeCAD was in 2002. The RPi4 will handily outclass anything anybody was running it on at the time.

You have to stay in the limitations you have, but that's true on any system and always has been.
You mean like the PFA [1] who are the oldest professional sportsmans union in the world?

[1] https://en.wikipedia.org/wiki/Professional_Footballers'_Asso...
somehow I seriously doubt the people from that article will add any competency laws or requirements to the workers to their union at all.
Democracy is also a system that produces BETTER decisions. Sure tyranny can make decisions "efficiently" but that's not that great when those decisions are terrible.

Democracy: Fewer macro, more micro, better decisions

Command-Control: More macro, fewer micro, terrible decisions.

EDIT: Another way to think of democracy is "distributed decision making" vs command-control which is "centralized decision making". When I talk about democracy, I mean distributed decision making.
Sorry to hear it crashed. And no idea re the installer. Just out of interest, did you file a bug report? Because I've been using the grid layout recently and have not seen an error.

> Oh gosh. Form designer still using pixel-based layouts.

If you build a desktop app, you'll get pixel-based layouts, because that's how Windows works. It is fully high DPI enabled and scalable, so it's not accurate really to call the units pixels. Call them design units or similar.

As you noted there are various layout tools, from containers with various flow behaviours, through to anchors and padding.
Why does it work that way in the U.S.? In my country everyone can freely join a union, all union employees can go on strike if the union allows it, and they’re not allowed to prevent others from working. At no point to my knowledge do all workers in a company have to decide to unionize. Why the collective decision?
The 6502 is still in production, and has single-character register names (A, X, Y, P, S).
not stirring anything up, its the first headline on the readme. https://github.com/request/request#deprecated
What if you can't know that beforehand? E.g. if you suddenly need to charge $0.000000001 per second.
I think that on the contrary, History has proven over the past few decades that wide outsourcing doesn't work. Companies tried it in the 90's and it was a disaster. This is why software devs in the US can command a salary of $100k+
According to the filing — part of his pending divorce case from sci-fi novelist Justine Musk — Elon Musk has been living off personal loans from friends since October 2009 and spending $200,000 a month while making far less. Musk confirmed this in an interview with VentureBeat.

Personal—not Tesla—burn-rate of $200,000 a month, and he still owned property.
fwiw they actually did mark their package as deprecated on NPM which means that all installations will see a warning that urges the user to consider other software.

It's kind of like if you were to maintain your own promise implementation, then the Promise is added to stdlib. You wouldn't say that your project is "done", you'd want to encourage your users to use the native promise.

Request was created back when all we had was the stdlib `http` module.
Comments like the above fascinate me. The emotional appeal of "choice" seems to have no end. You can employ it to fight unions, health care, public schools anything you want. Similarly if you can successfully attach "right" (as in "a right") to your rhetoric you can draw out pride, anger, indignation, all sorts of powerful emotions.

I recently learned that Frank Luntz (https://en.wikipedia.org/wiki/Frank_Luntz) is one of the masters of this and came up with "Death Tax", using "choice" to fight universal healthcare, and "climate change" to soften the more frightening "global warming."

We seem to be highly susceptible to emotional language triggers that just bypass our rational minds.
This is absolutely bog-standard anti-union propaganda. This could have been written in the 1960s.
I recently attended a panel discussion on machine learning at the ITA workshop. I asked the panel (several distinguished ML profs among them), which idea was most overrated in ML? The answer: deep RL.
Well, 25 years ago, when I opened at $BigBank the CU I use now didn't exist, and $BigBank offered services and availability that CU didn't (in 1995). Then, for the very long time I tied so many things to that account at $BigBank that it took almost three years for me to migrate all the accounts, business and personal and loans, etc to the new CU.

So, to why: legacy and stickiness
visualizing the diff of an ascii-art diagram leaves a lot to be desired as well. addding an extra box or re-routing an arrow in the diagram on the markdeep homepage would produce a very messy diff. if you want good diffs for highly visual content, converting that content to ascii art doesn't seem like the right answer to me.

the "magic" of this would also make me uncomfortable. if i draw a diagram and the rendered output doesn't look the way i want it, i wouldn't know how to fix it.
> I worked in a union shop once, as a summer intern.

Please keep HN comments substantive.
This is making some very kind assumptions about basic administrative staff. For people that work in our industry, a confidence/accuracy score is something that's usually well understood, and is generally treated as an assessment of a single item in context with the whole.

Once you get to the general public it's another matter entirely; for instance, look at how 538 was pilloried for their "30% chance to win the presidency for the current head of state," and how many times they've put out detailed information on how 30% =/= 0%. Your general person running review of the data (not the engineer hiding in the back office tuning the results, who should have access to the information) is going to treat most things above 50% as inherently true and anything below 50% as inherently false (within some margin of error, i.e. 50% +/- 5 points).

It would be better to go the 'dumb' machine route of setting up some standard escalation flags; which looks like it may be what happened with this (albeit in a bad way), "person self filing and < 18 years of age; raise flag." The system being bad at differentiating 1919 & 2019 and then sending out an automated response seems more like a bad UX problem at this juncture, since it's something that could have been avoided with a quiet internal flagging instead of a loud external one.
I'm not entirely sure what you mean by that question; but, I believe the fees are usually prorated and split between each pay period. Also a lot of job switches are because that's the best way to get a decent raise, and frankly I haven't seen great benefits outside of the really big tech commpanies. Perhaps collective bargaining would disincentivize some of that turnover.
From what I've seen AMD's recent chips beat (sometimes outright destroy) Intel on multithreaded tasks, but on single-threaded tasks it's still a bit of a toss up and depends on the work load. Intel seems to still come out ahead on some heavy numeric and scientific type work loads, especially if vector instructions are used. The differences are not huge though, and AMD solidly wins on price/performance even in cases where it's a bit slower in absolute performance for single threaded work.

At this point Intel literally only makes sense if you have one of those single threaded work loads where it still excels and you absolutely must have the fastest single thread performance.
>It doesn't have Promise support

That's a feature. https://medium.com/@b.essiambre/continuation-passing-style-p...
"The consequences of $X failing will have no impact" is quite literally the definition of risk-free.
>Docker for Windows has had a fundamental Dns[1] bug since April of last year, I've been forced...

>Truly a second class platform.

Now maybe some Windows users will see how Linux users have felt for over 2 decades.
When employees vote against joining a union, that's generally called a victory for the company's management, so the phrasing contrasts against that. It's definitely loaded language, but it's common enough I can't get too worked up about it.
so we hear since 2008
I want to know if their union contract does anything from preventing parent co from shipping jobs to places with less regulation and cheaper labor...
Ask HN: What steps to take to rebuild an existing application?
I've been tasked with rebuilding a successful desktop application into a web application. A few relevant points:

- The app is in the scheduling realm and involves some semi-complicated algorithms

- I did not contribute in any way to the desktop app and it's written in an old language that I don't know at all

- I plan to build the new app in Ruby on Rails, which I am experienced with

- We've identified ~75% of the current functionality that needs to be included in the first version of the web app

- The desktop app has had strong acquisition interest in the past and the best case scenario for all parties would to be acquired in the next 2 years

What steps would you suggest I take to make the process as successful and pain-free as possible?
As I said above I have no interest in diving into these trivial and frankly baseless arguments. Talking about inter-union competition when there are no unions is a huge waste of time and energy. Let's actually have unions first before we worry too much about unions being too powerful.

Using it as an argument against creating a single union seems like a distraction.
I use markdown with $\latex code in dollar signs$. With pandoc this actually works. https://pandoc.org/MANUAL.html#math
I totally agree with this approach, however it seems like a good idea to use alternatives for future work.