skysight-inc/HackerNews huggingface dataset:
> breaking a few obscure cases would have been worth that

The committee is very reluctant to break old code. That's one of the reasons the language as documented is so large.

That being said it's not clear to me what would have broken by putting sort(x) into std:: as you recommend.
> In shell scripts, if one branch exits with a nonzero exit code, the other branch is taken.

> 0 exit code is reported for all processes, no matter how they terminate.

These two things are mutually exclusive - shell script branching is usually based off of exit codes.
Location: Ann Arbor, MI

Remote: Yes

Willing to relocate: Open to it in the future

Technologies: Node.js (Typescript), Python, Go Lang, SQL (PostgreSQL, MySQL), NoSQL, CouchDB/PouchDB, Docker, Kubnernetes, Redis, RabbitMQ, Elasticsearch, GraphQL, Django, ReactJs/VueJs, HTML/CSS/JavaScript, AWS, Azure, Linux, GDPR, SOC 2, ISO 27001, System Architecture, Technical Lead, Pre-sales Engineering

Résumé/CV: https://www.digia.io/jonathon-moore-resume-staff-engineer.pd...

Website: https://www.digia.io

Email: jon+hackernews@digia.io

Code: https://github.com/digia

LinkedIn: https://www.linkedin.com/in/jonathon-digia-moore/

Staff Software Engineer with 9+ years of diverse experience across the stack and industries, enjoy the process and understanding the "why" behind the product/feature. Primarily focused on backend, security, and infrastructure, however am open to full-stack or hybrid opportunities.
It's possible to buy USB-C 2.0 cables and USB-B 3.0 cables, for when your printer needs the extra transfer I guess.
> Inlining, tailcall, hot/cold: None of these are issues. They don't change the fact that memory passed to gc() will be freed. Worst case scenario is the can gets kicked down the road, which is relatively easy to predict. [..] So long as you're not using this technique to unlock mutexes, you'll be fine.

That's true for inlining and tailcall, but not hot/cold, since it can make cleanups execute earlier than expected rather than later. This happens if: (1) some chunk of the function is extracted into a separate function; (2) the chunk contains a call to defer; and (3) some code which is not in the extracted chunk, but executes after it, expects the cleanup to not have run yet. See this example:

https://gcc.godbolt.org/z/1ro1z6

To be fair, Clang does not enable this optimization by default, and it might get replaced by a different implementation of hot-cold splitting [1] which happens to not suffer from this issue (because it operates later in the pipeline, essentially splitting blocks at the assembly level rather than the IR level).

On the other hand, GCC does enable a form of hot-cold splitting by default, via -fpartial-inlining, but it's limited to splitting out suffixes of the function (i.e. regions starting somewhere in the function and including everything in the function that can be executed from then on), rather than arbitrary regions. Therefore, it can't run into the problematic case where non-extracted code runs after extracted code. Still, this is just an implementation limitation that could be lifted in the future.

> I like the gc() macro because it can be used in expressions. I find __attribute__((__cleanup__)) unpleasant since it has strong opinions about how variables and cleanup functions need to be declared.

Fair enough; I do agree on that point. (I wish GCC had a way to either use attribute cleanup with C99 compound literals, or somehow declare variables that live within statement expressions as having their lifetime extended to a surrounding block… Maybe what I really want is a better macro system. Or the native `defer` feature proposed here, but I doubt that will ever happen.)

[1] https://lists.llvm.org/pipermail/llvm-dev/2020-August/144012...
Well made furniture can be pretty difficult to make. I'd guess for the average skilled person it probably takes a half dozen projects and lots of research before you start making pretty decent furniture, so keep that in mind!

On top of that, designing good looking furniture takes much more skill and time. Sometimes ya just don't have the knack either.

That being said, it's still super satisfying to make furniture, even if it gets cracks from expansion, has all kinds of weird defects, or doesn't look all that great!
Unlikely, all things considered. With default port RDP on the internet it is just a matter of time, and then of a coincidence.
Colloquially, "this will be obvious to anyone who X" means "you will already have strong belief values for this based on evidence gained through X". I wouldn't sweat it.

As you can imagine, sometimes this ends up declaring the obviousness of things that are untrue.

For instance, it's obvious to anyone who has walked in a stiff breeze that it is impossible to sail faster than the wind :)
depends on the type of project for sure. possessing knowledge of OTP is a superpower. when working on any serious project, it will always help if there is at least one developer in the team who has knowledge about it.
> And how exactly does one know they have received a "high end" cable or charger? Because it cost enough? Because a website claimed it was "Offishial Ankker CABLE"?

Ensure that whatever peripherals you buy that need high speed connectivity _come_ with the USB-C cables they need. Since the cable is part of the product the manufacturer will ensure they will bundle the cheapest cable that still works for that product as advertised. This works naturally for devices like USB-C docks, USB-C monitors and hubs.

The problem with USB-C is that many people look at it as a connector _and_ transmission standard but it is not, it's only a connector standard. The transmission standards are specified separately and they are many. Depending on your application (what do you use the USB-C for) certain cables may work or not. You'd have to do the research to determine which signal do you need to transport over that USB-C cable: is it PD power (up to what wattage/amperage), is it USB2 (how many devices), is it DisplayPort or is it Thunderbolt3. Then buy a cable that advertises support for the signal you need.

Alternatively, buy a cable that advertises support for the highest bitrate of all those transmission types, essentially buy a cable that advertises Thunderbolt3 support, but in that case don't be surprised why almost all TB3 cables are very short, it's not easy to transport 40Gbit/sec reliably. There are longer, but active and a lot more expensive, TB3 cables.
But those artifacts have usually faded with time and exposure to the light, so even those don't show you what the colors actually looked like, unless they have been sealed away from light exposure all this time.
Agree! We have a full developer team, but I find myself using Zapier for tons of small things in the company that would be way too low value to get done all the way into production with proper unit tests, etc.

Found some strange bug that you want to create a ticket to investigate if it happens again?
Just use a SQL trigger and create a ticket with details.

The SQL trigger is the #1 most under-used Zap I have found, love it.

Possible fraud cases, getting daily counts, duct-tape until a bug fix goes live, etc these are all great applications of SQL -> Slack/ticket or something similar.
When you try to go up against FB and Google with feelgood nonsense: https://www.youtube.com/watch?v=6atSU2iUrdI (yes, yes...)
What's New in DevTools (Chrome 87)
It's also a big hassle and if you have nothing to hide, why go through the effort?
This is like asking, "How do I get into the medical industry?" It's overly broad. There are lots of different jobs in the chip industry.

1. Device engineer - want to build transistors? Grab a physics/chemistry masters and /or PHD. Go to work at a foundry house like TSMC, Samsung, Intel, SMIC or Global Foundries.

2. Analog circuit design - grab a masters in EE (w/ circuit design specialty).

3. Layout - the person who translates the analog circuit design into the physical drawing that ultimately gets turned into a photolithography maskset. You can get an associates degree (maybe not even that much) at a local community college - learn the cadence/mentor EDA tools.

4. Verification - learn verilog HDL and computer architecture. A bachelors degree at a good Electrical Engineering program will get your foot in the door.

5. CPU design/architects - masters/phd in computer architectures.

6. Software - lots of different jobs here. Firmware guys write low level boot-rom code. Some guys focus on linux drivers and kernel porting to company xyz's latest chip. Some software guys focus on specific IP blocks of a chip like maybe working around bugs in the latest GPU IP integrated into an SOC like that used on the Raspberry Pi.

7. Test engineers - the guys that write test patterns to test a chip after it has been fabricated and packaged. You could go software or hardware for these jobs. Bachelor degree needed.

8. Packaging engineer - the people that design the packages that the bare silicon gets mounted to. All kinds of folks in this field - physics, mechanical engineers, materials guys. This is a fairly broad field.

9. Hardware engineer - designs the pcb's that the chips get mounted too. Your "classic electrical engineering" job IMO. Bachelors in EE with a focus on electronics and circuit design.

In general you'll need a degree from a decent engineering college to get your foot in the door. Software generally doesn't have this barrier. Look for internships at chip companies.
GP: "Buying stuff from Amazon is like rolling dice. If you get a 1, you lose."

P: "I rolled a 6, and it worked fine for me. I don't know why everyone else is having problems."
That there is room for improvement does not prove that a particular method would cause the desired improvement.

There is considerable reason to believe almost all variability in school performance is due to factors unrelated to the actual school itself (predominantly, the socioeconomic background and environment of the students and degree of parental involvement), which explains why limited scale efforts which require active parental choice to engage always perform better than the baseline, but scaling those up to be the baseline usually fails to have the same results. Better schools are just the schools attended by the students that would do best whatever school they were in.

So, if you aren't directing the solution at the things outside of schools that drive school outcomes, I don't expect you are going to solve any problem with the schools.
Correct, not as far as I can tell. The methods they describe may be applicable to CoinJoin services (at least the very high-level methods are applicable), but they didn't show any testing with these sort of transactions (unless that's covered by one of the two "Unknown"s, which isn't likely).
> For beginners, almost anything will be hurdle till the get the hang of it. Afterwards, they'll be practitioners. Being a beginner is a temporary situation; practitioners are forever.

What about languages who support multiple ways to do something in a semi-inconsistent manner?

For example with Elixir, in a lot of cases you end up calling certain standard library functions like foo(hello: :world) while others are foo(:hello, :world). Now, there's special magic happening in the first case but stuff like this is super confusing and it gets easily compounded with more complex examples.

As a beginner I found Ecto's various ways to calls things super confusing and I had to reference examples almost all the time to get the syntax right (which often had multiple ways of being "right"), but I've also talked with more experienced Elixir developers and they get hung up with Ecto's syntax too.

So where do you draw the line between making the language / DSL better and keeping it catered to only folks who are basically at the same skill level of the language creator?
I'm seen other comments of yours and this is a final straw, which makes me stop wasting my time.
> anyone could be rehabilitated

Many systems disagree with this and have sentencing systems which allow a true life sentence. Sometimes this is due to a mental health aspect.
The problem is that most consumers don’t read those warnings. And the “reasonable person” would assume that any USB-C cable would work if the USB-C-like receptacle mates with their USB-C cable.
Yes, over $1B in liquid stock over 5 years.
> The way that ex-felons are treated in society is despicable, no wonder there's a 55% recidivism rate if you get blocked at every attempt to becoming a productive member of society.

What makes you think they want to be a 'productive member of society'?

It's not that hard to be a member of free society instead of prison society - don't break the law, repeatedly.

There'll always be unlucky exceptions and if your goal is to ease the suffering of the unlucky - I'd suggest volunteering at a children's hospital.
I'm loving USB-C. I travel a lot and invested a few new devices and even upgraded a few devices to USB-C (you can find small boards on aliexpress which provide a usb-c port and output 5, 9, 12, 15 or 20V). Even my shaver charges by USB-C.

However it takes some research, and I wish the spec was pared down more. Others mentioned that Nintendo switch can be damaged by a bad charger. They also chose to implement HDMI out using displayport converted to HDMI, so very few HDMI adapters are compatible.

Thunderbolt vs USB is confusing.

Hubs are confusing. USB-C hubs are basically impossible. USB2 or 3 hubs work well but share the speed and power with multiple devices. Easy to understand. USB-C (3.2) can supply up to 100W and 20Gbps. But one device can use up to 100W, and one 4k@60fps HDMI signal can use up to 20Gbps (even more in fact). So it's not possible to make a usb-c hub without a lot of limitations. Not to mention it's not trivial to set each device as a power sink or source. That's why hubs generally have usb-c on one side and usb-a 2.0 or 3.1 on the other side.

I don't know what the solution could be, you can't keep the versatility without removing functionality.
At least there is no way of making the ecosystem any worse than it already is.
On the other hand I don't think it's OK to put limits on their creativity and efforts to improve user experience. If they want to make a topic specific widget, why not?

If you type 123+321 it will say 444 first, then display search results. That's how it should be, they don't have to protect the "123+321" keyword market.
It sounds like you two are disagreeing over the unmentioned error rate.

If I get a parking ticket unjustly, it may piss me off, but it isn't a big deal. If I am convicted of a serious crime unjustly, it matters far more.

Whereas the grandparent, I think, is asserting the guilt or innocence is (or should be) an objective fact independent of what anyone does about it.
> Still, your proposed solution for users is literally to "Ditch the 'Hub", promising that "many of these problems get dialed back a lot".

This is accurate. Let's let that be the place we stay.

> I find that "all will be better without Github" is a reasonable short approximation [...]

Well I don't, and it's my position, isn't it? It's not accurate. I don't think that "all will be better without GitHub"—and what's more is that I practice the "without GitHub" part; I have the firsthand experience to be able to say it's not true, so I wouldn't try to tell anyone that it is—and I didn't. I'm responsible for my own ideas, not ones imagined upon me.

Moreover, if I argue that A and B are not equivalent and that I prefer deal with A in its original form and not B, and you argue that they are equivalent, it's not rational for either party to insist that we deal with B in place of A. So let's not.
I like the error messages in some early BASIC interpreters. They must be as short as possible, since the entire interpreter fits in 4 KiB of RAM. For example, in Li-Chen Wang's Palo Alto Tiny BASIC...

The only message for all syntax errors, is:

WHAT?

The only message for all runtime errors, is:

HOW?

And the only message for legal but unsupported operations (e.g. out of memory) is:

SORRY

See the source code here: https://github.com/ancientcomputing/8080_8085/blob/master/Ti...
Has anyone used Jumbo here? If yes, what's your review?

https://desktop.jumboprivacy.com/
Oh you've got to be in one of those threads, where Googlers try to defend, how much efforts they put into what they're doing and how they know better about everything, and yet their browser and OS is a privacy nightmare.
Drop Technologies | Engineering (multiple roles) | Onsite | Full-time | Toronto, ON

Drop is a rewards company on a mission to level-up the way consumers shop. Drop builds a personalized rewards experience from over 500 partner brands. To date, Drop has over 4 million users and has rewarded over $20 million to consumers.

Headquartered in Toronto, Drop is backed by world-class investors including NEA, HOF, Royal Bank of Canada, Sierra Ventures, and White Star Capital.

We're looking for strong product-minded Frontend and Backend Engineers passionate about building beautiful experiences at scale, let us know if that's you!

Stack:

• Mobile App - React Native, Typescript, Redux, Redux Saga

• Backend - Ruby on Rails, Postgres, Docker, Kubernetes, AWS

Apply online, or drop an email to george [at] joindrop.com

• Backend Engineer - https://jobs.lever.co/joindrop/47c62152-9dda-4b6b-adab-d9058...

• Senior Backend Engineer - https://jobs.lever.co/joindrop/94fa05da-0334-497c-b6d9-a47be...

• Frontend Engineer - https://jobs.lever.co/joindrop/88b5ca55-0fb4-47c2-9621-ecec5...

Links:

Web: https://www.joindrop.com
Engineering Blog: https://drop.engineering
Ski, Party, Seed a Pandemic: The Travel Rules that let Covid-19 take flight
That is not the case. The current reports, as far as I've seen, have all (or at least mostly) been from 3rd party docks where pins on the dock side were bridged and shorted the charger, frying the Switch's port.

Edit: A poster below this question said they fried their Switch by using their Macbook charger so I may have been naively optimistic in my original statement.
Yeah I guess it was a rhetorical question.

I think it's been a strategy for the last decade for most startups to hope to get acquired by these companies. And these companies also know there is always a well of innovation they can tap into via acquisitions.

So it's worked out for most involved. I don't think consumers are getting the shaft by any means but there are enough tough problems that probably aren't getting addressed.
There are trademarks on the USB logos, so the USB consortium not enforcing their trademark on standards violators (using their logo) is something they could do, but don’t.
No, the Historian's job is to preserve and transmit. Then, it becomes the job of the writers and artists to connect us to that knowledge in a cultural and emotional way. Two very different jobs. Some individuals have the talents to do both, but they are discrete disciplines/jobs/roles.
What 'drmeister means is that CL as an actual standard, as in ANSI standard. Ditto for C++ (an ISO standard). This means the language has a clear target for implementations to conform to, one that isn't vulnerable to "moving fast and breaking things".
One example is if you want to use the / symbol for integer and float division. Also do you want every multiplication done in a type where the data fits in? (C promotes types a bit too agressively here). So I believe for a low level language there should be more casting and less automatic type promotion.
That’s correct, this is standard language in every offer letter I’ve ever seen. I wouldn’t take a primary job without a written offer letter.
I believe that PCI compliance in the US requires that background checks be run on employees with access to the protected environment. I also believe that that is the only requirement: Run a background check. They don't say you have to do anything with it, or even read the thing when it comes back.

A old cow-orker of mine had a bullshit felony for "computer hacking" from quite a while ago. Trust was never an issue with this person.
> If you remove the minimum wage, what do you expect will happen?

Some people who were previously unemployed will make $7 instead of $0. Some people who were previously making $7.25 may make $7 too. But then everyone will pay lower prices for things. On net that turns into an overall gain.

> No, wages go down: https://usafacts.org/articles/minimum-wage-america-how-many-...

I don't see anything in that link that actually says that. And if all you're saying is that some people who used to make $0 start making $7 which then brings down the average, how is that actually bad? $7 is more than $0, it's just an artifact of not including in the unemployed/underemployed in the average.

Meanwhile eliminating price controls can increase wages by increasing competition for labor. Right now Alice makes $8/hour but loses the equivalent of $2/hour to commuting expenses. You let an employer across the street from Alice pay her $6/hour and she takes that job instead, ends up with the same amount of spending money because she doesn't have to pay to commute anymore, doesn't have to waste an hour a day sitting in traffic, and her former employer has to pay $8.50/hour to get someone to replace her (or to convince Alice to stay given that she now has another alternative).
> Open Source authors (including myself) have complained of automatic security scans. They yield way too many false positives, increasing the burden of maintaining repositories.

Unfortunately all tools have either false positives or false negatives, and in practice often both. Tools can (and should) take steps to minimize them or their impact. Nothing makes you use any specific tools; if you don't like what a tool does, don't use it.

> Specially troublesome are when e.g. the "vulnerability" (if it's even one) is in a devDependency that is not deployed to production.

This particular GitHub tool is for analyzing source code, and would not not normally analyze your dependencies. So that doesn't seem relevant in this case.

Of course, someone could mindlessly use this tool (or look at its results) and complain. That's easy, just ask for funding to fix the problem, or at least a pull request that fixes it.
> Denmark ties education funds to each student, not the school district. They seem to be doing fine.

Lots of places don't, and are also doing fine.

That's because that particular feature is orthogonal to any real issue.