skysight-inc/HackerNews huggingface dataset:
Saying that JavaScript is single threaded isn't accurate anymore. Even the article we just read mentions that you can run multiple threads with WebWorkers. The problem with JavaScript is that the main thread may* block the UI.

* Why may? The older APIs such as document.write and synchronous XHR do but modern browsers already warn against that. And the modern APIs don't block the UI because they are asynchronous and work with callbacks or promises. Bad JavaScript code can make the UI sluggish though, people should be performing complex tasks on a WebWorker but that's not as easy or as obvious as the default of performing them on the UI thread. The same problems can happen in native Windows programming for the same reason, the UI thread being the main thread. This is a bad design decision from decades ago that will likely haunt us for many more decades in the desktop OS and on the web.
"Imagine Comcast shanges a policy, and suddenly you're in violation of Computer Fraud and Abuse Act (CFAA)."

That is only an argument, not a fact. They would have to persuade a court you are violation of the CFAA. That requires evidence. In almost all the previous cases with similar facts, the plaintiff provided notification and an instruction to cease and desist. Apparently, the plaintiff's lawyers or prosecutors thought they needed that as evidence. If you received such notfication, and you wished to avoid a CFAA claim, then you would follow the instruction and stop doing whatever Comcast is complaining about. And that would be the end of it.

The thing about the Swartz case is that he broke into a network closet and connected his laptop with ethernet cable directly to an MIT computer (networking equipment) in the closet. Even with this latest USSC decision, how could that ever be "authorised [physical] access".
Well I was commenting on the business insider article that’s linked at the top of this comment thread.
+1 for the book. I can also recommend TailwindCSS, which is a CSS framework by the same guys behind Refactoring UI.
Principles of Data-Intensive Systems [0] seems to cover some of the system design topics

[0] - http://web.stanford.edu/class/cs245/
This is framed as a bad thing but it seems like the purpose of these “no politics at work” “culture memos” is specifically to encourage people to the door who require or desire a more modern/activist/diverse/BLM work environment. I suppose we see an experiment playing out between the companies that want to preserve the “old” ways of companies with their politically incorrect employees who would be considered “toxic” and “bros” and “problematic” (and to adapt to modern standards, to adopt a don’t ask don’t tell policy with respect to their personalities) whose animating principle is “coffee is for closers” and the newer diverse, “intersectional,” “antiracist” culture that claims “diversity is our strength.”

It will be interesting to see which model wins.
What a weird ass trivial title on the NY article, and what a misleading one on the HN
WASHINGTON — American intelligence officials have found
no evidence that aerial phenomena witnessed by Navy pilots
in recent years are alien spacecraft,

Literally the very beginning of the article.
I like your approach here. As strange as it sounds the path to ethical action in tech requires cultivating the kind of imagination required to think of all the ways tech can be used for ill (sometimes called 'design noir'). I'd hope a curriculum would have a hefty dose of this.

Gone are the days we can just build something and act naive about what ways tech can be abused or think we can solve those issues as they come up.

Most of the time, it's not even in companies interest to look too closely at the negative implications of their products, because then they'd have to act.

Hence, its better to anticipate problems at the design phase than deal with them after the thing is built and corporate inertia and sunk costs demand it stay the same or only get band-aid fixes to those problems.
The professional nature these scams are now (call from 'Microsoft', steal a little and then send properly dressed and documented people to the house to 'investigate the fraud' and steal more) is not desperate people scamming. Sure they do not have to be murdered, but removed from society is not a bad plan. These are pro organizations, not a handful of poor people anymore.
Or suddenly you realize you can be effective working over Zoom instead of in person as long as you have those couple meetings a year, so you have new business or employee relationships that only existed locally in NY or London before. That’s an X000% increase in demand.
Buy some negative interest rate bonds until it adds up to 0%? Or cash out and keep it all in a mountain fortress.
The good news is, if their workplace policies are anything like their editorial policies, if you don't like it just wait 3 months, they'll have a new one.
Essentially, banks find CFPB claims so annoying that they will usually fix the issue just to make you go away. Btw, I just did this a few months ago so the system shouldn't have fallen apart since then.
Hewlett & Packard started out by building an instrument.

Another very impressive thing they did was never stop.

I continued with experiments using vacuum tubes more so into this century although I slacked off without a bench in recent years due to serious losses from natural disasters as they have come along.

I really had my old vintage gear in shape and some new developments which sounded excessively tubular, and it had been a good reason to break out the old guitar even if just to test the amps numerous times per session as I was auditioning components and circuit possibilities. When I was at the bench I would spend about equal time soldering and playing.

I was playing the same old stuff so I could reference the underlying differences in the circuits, I'm not a songwriter to begin with and I definitely was playing worse than ever, but with just a few hours of soldering I could get better tone than I ever had in my life.

I needed all the help I could get anyway at that point and I guess I did have nothing to be ashamed of, but it was easy to admit that I was getting more progress out of spending two hours soldering than practicing music.

Ended up with the amps as my instruments and the guitar as the equipment, and did some fun gigs with talented musicians for a while there.

I never wanted to stop either.
Not directly related to tech, but I really recommend the movie The Insider for a look at how whistleblowing goes. It’s about the tobacco industry but can likely be generalized to any situation.

https://en.m.wikipedia.org/wiki/Jeffrey_Wigand
Yes, to avoid an import cycle or polluting the protoreflect API documentation with a rather large non-user-facing API surface.
Well, maybe I won't be more accomplished in your eyes as obviously your value system differs from mine. But I've tried hard in many way to change things for better - not for me, but for others and for the future generations to come. And I have some successes. What is she going to accomplish? Make money and make others follow her lead? And that would be great, right? Well, not for the planet - that's for sure!
An accordion widget is simply a series of radio button followed by div. You can see this in action at amazon.com in a product page with multiple purchase options, the buy button will have a radio with multiple options, it's just a radio button. An accordion that allows multiple open panes is a series of checkbox followed by div. More advanced, you can create a flashcard app by allotting two checkboxes per card. I used this technique around 3 years ago when I was studying kanji: http://sokogakuen.framba.ch
San Francisco's microclimate weather as a policy magic 8-ball. I never thought of that before.
This New York mag article [1] published eons ago already made it clear to any sane biologist that all you mentioned are important things to consider. However the issue is sane biologists or scientists in general are actually in extreme short supply, the vast majority are often under the delusion that they “understand the system” better than they actually do. They also are often knowingly and unknowingly more interested in persevering their personal agenda (for eg. Gain of function research in the general sense in this case) than the overall good of humanity or scientific rigor.

Take Fauci for example, is he a good scientist? Yes. But it’s also clear that he too subconsciously has pushed for the method of approaching pandemics that coincidentally he was good at, and now we are left with this mess. I doubt him or anyone in between is going to acknowledge it even if they realize it. I was downvoted here to oblivion for pointing this out weeks back but doesn’t matter. I threw away a decade of my life’s experience because I didn’t believe in this cult of an academic system, downvotes don’t hurt nearly as much.

1. https://nymag.com/intelligencer/article/coronavirus-lab-esca...
Saying it "has nothing to do with his credibility" sounds extremely naive.

It is totally within possibility that he is "writing about the information that the US intelligence offices were putting out" this time too, to make certain narrative that the US government wants.
Just as bad are those that check in code that that works, but no longer makes logical sense when you read the code. The following is a simple case of what I'm talking about:

var flag_is_unset = flag_is_set

I generally land more on the dynamic side of things, but there are certainly problem domains where I love types. The more closed and "mathy" the domain, the better I think types fit. I just wish it was less an all-or-nothing choice, and that people were less religious about it.
Google Replaces Millions of Intel's CPUs with Its Own Homegrown Chips
In 2021, there are ways to run other languages in the browser - including Python.
Viking man says they do. Go to the 2 min mark, he lays it all out.
https://rumble.com/vbodst-u.s.-space-force-technologies-and-...
I believe this OS can take advantage of a 6309, if one is equipped.
Judging Freehand Circle Drawing Competitions (2018)
> Combine it with a Kubernetes-based executor and you have a scalable, isolated, reproducible and flexible CI system that requires basically no maintenance and most importantly is about as approachable and understandable as you can possibly get for a CI system

You can also setup a docker image with all the Jenkins related bits installed (including any custom/specific setup) and then that can be integrated with whatever Kubernetes or Docker setup you need. Jenkins also has concept of slave executors and they can be deployed to any build nodes (fixed or on-demand).

> It’s simple shell commands vs AbstractProxyCSPFactoryGroovyBean classes.

No idea what this is about - you don't need to write Java or Groovy classes to run Jenkins jobs. One of the most common use of Jenkins is to run steps via scripts (Shell/Python/Perl/whatever).

Sure the UI looks a bit dated but from what I have seen, it hardly needs much maintenance either.
Are you saying you find

Array.map(e => f(e))

Easier to read than

for(e in Array) {
f(e)
}

I don’t see how they really are any more or less readable, although I’ll admit map gave me a day of rethinking when I switched from 100% python to using react on the frontend.
Yes, that's how observation and personal opinion works.
Up thread you are literally arguing[1] that Trump is the "boy who cried wolf" and that his "lies" cost us proper reporting on this. I have no idea what past reporting on wars and environmental disasters have to do with the media making an explicitly political choice about how to cover the possible origins of the pandemic.

[1] https://news.ycombinator.com/item?id=27389293
It's easy to ignore the liar themselves, but it's impossible to ignore repetitions of the liar's message. The only possibility is to ignore any message matching the liar's, regardless of provenance. This completely screws up rational discourse.

And yes, such manipulation and corruption of debate is the general problem with liars being awarded leadership positions.
Sometimes.

Is there any good way to see why an element is a certain size? I often end up digging back and forth through children and parents and wanting to tear my hair out.
> do better security is like dismissing doctors because people should get more exercise

Not dismissing doctors but making fat people (or drug users etc) pay more is not that silly and happens.

There need to be standards (ISO, PCI) for all companies. And if you get hacked, you get fined if you did not adhere to the standards.

And yes, go after the criminals as well, but bit to easy to just ignore ancient Windows installs and users with passwords 1234 who have admin access etc. All these issues are stated in both ISO and PCI compliance: we just need to have all companies comply, not just banks etc.
The pattern is:

<label>
<input class”real-check” type=checkbox />
<span class”fake-check”/>
<strong>this is the text label</strong>
</label>

- visually hide the checkbox
- use a selector like “.real-check:checked + .fake-check and draw whatever you want in the fake check.
- the fake check and the text label are both inside the label element. Interacting with them will toggle the check box.
When you click the here for more info, there are the cookie requirements/explanation with optout link pointing to:
https://s.pubmine.com/opt-out
uh... next time when the US targets Iran for example with stuxnet, will that mean they will call themselves terrorists now.... great. i didn't know that
So you’re saying because there’s no new evidence the new furor is not worth it? It was clear for some of us from the beginning that the evidence is damning enough from the beginning.

If you’re going to demand incontrovertible evidence that might never come up. But considering the scenario, viz. a cabal of careless scientists accidentally unleashed a plague that is killing millions , even the slightest hint of a cover up needs to be taken seriously.

Having worked with enough scientists I don’t for a moment doubt this hypothesis either. Ego and arrogance is what drives most of them, they’d rather choose self-perseverance over accidentally killing millions and go home to have lasagna as if it was just another Thursday without a sweat.
Very nice! I really like the ease-of-use of this, as well as the scale-to-zero costs. That's a tricky thing to achieve. Seems like it could become a standard path to ease the migration from local to remote builds.

If the author is interested in standardizing the same, I'd suggest implementing the REAPI protocol (https://github.com/bazelbuild/remote-apis). It should be amenable to implementing on a Lambda-esque back-end, and is already standard amongst most tools doing Remote Execution (including Bazel! Bazel+llama could be fun). And equally, it's totally usable by a distcc-esque distribution tool (recc[1] is one example) - that's also what Android is doing before they finish migrating to Bazel ([2], sadly not yet oss'd).

The main interesting challenge I expect this project to hit is going to be worker-local caching: for compilation actions it's not too bad to skip assuming the compiler is built into the container environment, but if branching out into either hermetic toolchains or data-heavy action types (like linking), fetching all bytes to the ephemeral worker anew each time may prove to be prohibitive. On the other hand, that might be a nice transition point to switch to persistent workers: use a lambda backed solution for the scale-to-0 case, and switch execution stacks under the hood to something based on reused VMs when hitting sufficient scale that persistent executors start to win out.

(Disclaimer: I TL'd the creation of this API, and Google implementation of the same).

[1] https://gitlab.com/BuildGrid/recc

[2] https://opensource.googleblog.com/2020/11/welcome-android-op...
Changed from "dev commands" to "the build process". Hopefully that makes the intent of the tool clearer.
For us, the Jenkins is:

- Website with access control which supports identity provider.

- Properly authorized user can start a job from their browser, and can specify arguments as well (using checkboxes, input boxes, multi-choice boxes etc...).

- Job works by allocating few machines from the pool and running some shell commands on them. The number of machines, type of machines, and commands to run are all customizable and can vary based on parameters user has entered.

- Once job is running, you can view text logs (in real time) or hit "cancel" button, and it'll properly cancel job and release all the resources. If the job fails for any reason, it sends notifications.

- From web interface, you can view the list of all past jobs, their status, logs, outputs, test results, etc...

- The machines can be physical on-prem ones, or allocated from AWS. For physical machines, all you need is plain linux with ssh access. For AWS machines, machines are created/destroyed in response to load.

- The whole thing needs no infra other than a single master machine which is hosted on premises. As long as you back up the master regularly, you can recover from complete meltdown, the only problem will be that some jobs will get cancelled.

------

Jenkins is actually pretty bad at this task, and we need a fair amount of Groovy code (ugh...) to get it to do what we want.

But there seems to be very little alternatives which can do all that. For example, Apache Airflow is missing authentication for web ui. Tekton seems to require Kubernetes and I (based on reading docs) has no UI controls. etc...
But the parent's point is that's still putting the liability on the vendor rather than the actual criminal. Perhaps it's more like if a car is sold without an immobilizer or an alarm, holding the manufacturer liable if it's stolen. But if that kind of fails, because it's pretty simple to mandate a handful of security additions to cars, whereas software is orders of magnitude more varied and complex. It would be hard for any vendor, let alone small companies, to prove they'd followed every conceivable best practice. Might even be impossible, as some likely conflict. And if you try to codify exactly what security practices should be followed, what do you do when those practices become obsolete?
Because a catalyst can be made political. A person's mental health (as of yet) cannot.
Sounds like you just haven’t taken a good ethics class. I was required to take one in grad school (comp bio/biost at) taught by a law professor. Every week we were assigned a case study on a real-world ethics problem, such as the Duke/Potti scandal [1]. We wrote up answers to 5-6 discussion questions ahead of class, then spent the class time in small group discussion rather than lecture. I think it was one of the most valuable courses I took in grad school.

[1] https://en.wikipedia.org/wiki/Anil_Potti
I absolutely love these things.

Keeps interfaces clean and improves UX simultaneously (in almost all cases) - a win/win.

I've started building my projects with shorcuts + command palettes as the default execution mode for new features, where the rule is:

- Build the feature with keyboard shortcuts + command palette first

- Add GUI/modals/buttons/etc either at the same time or later
It's so bizarre to me to view him in this way. "Trump thinks something; therefore I must be against it".

I understand not taking his word for anything. But it's such an important issue. To just dismiss it and not try to investigate it, even at the highest levels of our government and public health bureaucracies, strikes me as negligent at best.
This weapon has been wielded by the Zionist crowd for decades. It is hardly the left's invention.
About the #1 WebGL complaint, is it really so that you can't use integers in attributes?

https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7... seems to say otherwise, and also https://developer.mozilla.org/en-US/docs/Web/API/WebGL2Rende... tells you can use integer types including gl.INT, gl.SHORT etc, and here's someone using int32 textures successfully: https://stackoverflow.com/questions/43905968/how-to-get-32-b...
The one Slack channel to create
People will forget stuff over the summer before the next school year even begins. Much less waiting until after they graduate.

Material has to be covered repeatedly in a series of courses building on each other. E.g. first you learn basics. Then you apply it in subsequent classes. This is how mastery in learning works for anything. One class on an isolated topic is probably a waste of time in the long run, unless it really makes an impression on you for some reason (e.g., you really love it).

Some programs, especially overseas, let people mash together a broad range of classes on disparate topics with mastery in nothing (except perhaps for skill at cramming itself). Those are almost worthless degrees.
Put me in the screenshot when you report your progress.

lamontcg has definitely convinced me, and did a great job disrupting the conversation re-using a playbook template. We all gave him upvotes to increase the visibility of his well-crafted post. Soon, most Americans went home to have beer and watch Superbowl. Job well done.
I explain why your conclusion is incorrect here.

https://news.ycombinator.com/item?id=27389282

> You might want to reevaluate your beliefs, because this is a glaring mistake with troubling implications.

No, you might want to re-evaluate your beliefs, because these are superficially different phrases. The intent may be the different, but the avoidance of responsibility is the same.
My concern with all-or-nothing validation of the sort you're suggesting is that sometimes the invalid data is data that isn't your concern and doesn't matter to the task you're trying to accomplish. It doesn't even have to be a mistake on the sender's side; maybe something evolved, maybe you made the mistake. I prefer defining the minimum I need for a specific function, instead of defining exactly what I expect. For much the same reasons as we scribble in the margins sometimes.
To be fully clear - for how they align with the 3 points I raised, Ruby/Node/Python fit into 1 bucket (no, yes, no) and Scala/Elixir/Haskell fit into another (yes, no, yes).

I'm not trying to derail into discussing how Scala is a shade better or worse than Elixir in some aspect - the main point I'm trying to drive home is that they're both in an entirely different class compared to Ruby/Node/Python.
I think

Array.forEach(...)

is the more apt analog there as it wouldn't be generating a new array of the return like map would.
Crime needs to be dealt with but a lot of companies I worked with in the past 30 years are simply negligent. If you do not blame the victim, what is the incentive for spending money on even basic security? Not morality surely, so...
> toggle state with `:checked ~ .foo` selectors

I loved this when I first learned it but was convinced by some accessibility-minded people that it usually doesn’t accurately convey the state to assistive technologies. Instead, use a <button> with an appropriate ARIA attribute conveying a state (pressed, expanded, etc.) that’s toggled by JavaScript. Or use <details> <summary> elements if it’s a disclosure widget.
It's easy to see computed CSS properties and which selectors they come from (and what the order of specificity is that caused those properties to take effect)

Given the properties, I personally find sizes to be pretty predictable based on the rules of block or flex sizing
Holding people from China accountable might be a tree we can’t bark at, but we can sure as hell hold everyone even marginally accountable in the US side if it’s clear they covered up their involvement in the unleashing of this plague.