skysight-inc/HackerNews huggingface dataset:
Going from doing most of my analytics work in MariaDB/MySQL to Python/Pandas, and R/Dplyr, I'm amazed by how much trickier the syntax and operations are in Pandas.
That makes a kind of sense. The smaller the difference between two viewpoints, the harder it is to distinguish the difference. Its possible to argue forever and never see which is better/right.
One might choose to do this because the admins thought they were "smart" and said, "Oh, I know, we will only allow 'known' MAC addresses to connect to the network! That will fix it."

And it does, kinda. Except it doesn't stop you from capturing clients on your "fake" network, and the goal isn't necessarily to be on the "real" network, the goal might be to just man-in-the-middle a juicy site or two, with is on the big Internet (say, the company's bank)

Capture the controller's login into the bank and win "free money"
Warning: The author wasn't a magician but played a game called Magic. (I wouldn't've clicked had I known that.)
It's not, but it's enough to counter the point that they fight about nothing.
I highly doubt it; the video of the doctors in question was not censored by the US government. And the Internet Archive is already entirely blocked in China.
Flamebait about any country is off topic. Flamebait often does have an element of truth. We don't treat Indians specially. The poster may have been Indian but that is immaterial. Factual comments are indeed helpful, and become more helpful when flamebait is edited out.
I really can't imagine why. This seems like one of those self contained problems where some PricingService and a DB returns a number and deals with all the complexity internally. That seems like the logical place where you'd do A/B testing of prices and the like.
They don't stop because they are so used to fighting that they forget what they were fighting for.
This percentage seems to be the crux of your argument so I'm curious to know what it is. Are you relying on any data?
In the 19th century over 90% of the world population lived in poverty and over 80% lived in extreme poverty. World population living in extreme poverty went down to 55% in 1950 and then plummeted to under 10% in 2015.

I recommend this book: https://www.goodreads.com/book/show/34890015-factfulness
"I'm afraid we're all out of hash buckets at the moment. Would you like a seat at our open addressing table?"
Also security updates? Wouldn't that make the new version insecure at launch until someone pushes a thousand security updates at once (making it kind of 'testing' again because none of these were in testing before and thus haven't been widely tested)?

You raise a good point since I notice I don't know the process as well as I thought I did, but it seems odd that the frozen testing repo would only get all security updates all at once months later.
You don't have to spoof sites. If you capture the client they will invariably use DHCP to get an address and you can pass along that you are the web proxy for HTTP/HTTPS. Voila, all your bases are belong to us, right?
The irony is that if this site were actually simple (i.e. just text without a sidebar) it would be as responsive as you needed it to be. In the worst case scenario, you could fix it with client-side CSS.

The problem here is that the site is complicated beyond what HTML is meant to do: it has a sidebar. It's no longer just a document; it's a document and a navigation menu. Effectively it's a small software application, and once you're in the business of writing software applications you ought to be in the business of accessibility and UX design.
Transducers.jl: Efficient Transducers for Julia
Main point of the article (quoted):

> In 2017, Tim Cook came as close as he ever has to publicly addressing the issue. "In the US," he said, "you could have a meeting of tooling engineers, and I'm not sure you could fill the room. In China, you could fill multiple football fields."

One possible reason for this is that US education is generally broad compared to other countries. No one in America majors in "tool engineering" but a mechanical engineer could certainly be trained for the job. In other countries such as Germany and China you're more likely to follow a more narrow path (for better or worse).
Most of those regulations are written in the blood of patients.

In addition, I suspect that you have never debugged a delicate physics experiment.

A single experiment could fill a dozen notebooks with records of what I tried and used. There were records of serial numbers, calibration sequences, colors of wires, etc. I could go on and on.

Why?

Because when something didn't work, I needed to have "ground truth" as to what was working so I could focus on the (hopefully contained) surface of uncertainty. And this was for a physics experiment where the outcome is KNOWN.

If you don't actually know the outcome, everything gets worse as you don't have a definite signal between "Hypothesis is wrong" vs "Experimental setup is broken". Now, multiply this by thousands of steps for a drug. Brrrrrrrrrr.

To top it off, the physical world isn't like software, you often can't go backwards. In the physical world, if you didn't record everything on the forward pass, you may have to go back to start. :(
Does this end up replacing a large portion of if/else or switch statements?
One of the biggest lessons I've learned as a VC in the past few years is that pricing really has to be aligned with and proportional to the value your product provides. If someone gets $100 of value per seat and you charge $15/seat, that's great. If you charge $15/seat for a product that creates value per gigabyte, people start gaming the system. E.g. they'll buy one seat for their company and ask that person to be the proxy user for your product. Or if you charge $10/GB and people get $20/GB of value of the first few gigabytes and then $5/GB of value after that, you're going to run into problems.

So figure out how users perceive and quantify your value to themselves, and then try to come up with a simple pricing scheme that captures 10-25% of that value. That way every time someone pays you $1, they get $4-$10 of value, and that's a no brainer purchase.

Getting pricing right has a huge ROI across the board. Good pricing improves margins, reduces sales friction, and creates happier customers.

The best book that I've read on pricing is Monetizing Innovation: https://www.amazon.com/Monetizing-Innovation-Companies-Desig...
Deliveroo was the poster child for venture capitalism. It's not so good now
> they simply expect authors to simply provide a camera-ready .doc or PDF for publication.

^This: the research, writing and editorial work is provided to the academic publisher at no cost. The publisher prints paper copies which they sell at outrageous markup, and usually hosts the PDFs behind an obnoxious paywall (again with outrageous markup over the hosting, indexing, and distribution costs.)

> These for-profit publishers simply collect charges without providing any value.

For-profit academic publishers often provide negative value by making publications harder to access by polluting search results with links to their paywalls vs. links to author sites and free digital libraries like arXiv or sci-hub, and doing their best to shut down the latter.

This is harmful to authors and readers alike.
I was half-joking, more like fed up with this overused "everyone can do it" mantra (e.g. I saw it several times in Andrew Ng's machine learning course, which turned me off the subject (not that I had been turned on too much in the first place, but I was curious what he was going to say about the subject that could enthrall me (not much, probably just dimensionality reduction))).

Anyway, if you want to work in a genius-level field, you have to be motivated enough to find it on your own.
SEEKING WORK | Las Vegas NV | Remote

Available for work with Microsoft Bot Framework. Also, well-rounded in Microsoft development technologies. #chatbots #ai, #nlp

Technologies: Azure, Bot Framework, C#, LINQ, ML.NET, MVC, Web API, WPF, more...

Linked-In: https://www.linkedin.com/in/joemayo/
GitHub: https://github.com/JoeMayo
Twitter: https://twitter.com/JoeMayo
Discovery Island – Orlando, Florida – Atlas Obscura
I only use the micro editor as a snap. The chromium snap was forced on me. I keep it around to test and separate web stuff. From that minimal use I get a daemon running and a dozen bullshit mounts. Wish they just statically compiled it.
I would say possibly to use a different programming language for GPU than CPU. I like the idea of Checkout (see [0]) for GPU programming, although unfortunately it is not implemented and the preprocessor is not yet invented. (The trigonometric functions are also missing. They should probably have at least sine, cosine, and arctangent, since these functions seem like useful to me when doing graphics.)

[0] http://esolangs.org/wiki/Checkout
I think this is usually called "functional programming". See for example https://prog21.dadgum.com/26.html.
Brick PCs?? How?
Concurrent hash tables: fast and general?
How does an incompetent engineer tell the difference between incompetence and imposter syndrome?

I don't think it's realistic to say that all incompetent engineers think they're competent.
Ask HN: Why are people so reluctant to pay for software?
All of my evidence is anecdotal, but from talking to friends that are not power users/tech people, to me it seems that the average person thinks of paying for software as an outlandish idea.

Meanwhile they are more than willing to spend $5 on coffee yet wouldn't consider spending $5 for software. What makes even less sense to me is that when it comes to subscription based services they seem more willing to spend their money than they are for a one time payment.

Would love to hear your thoughts as to why this is.
Generally it's not the drivers but the firmware for those devices, i.e. code that runs inside the device.

I think it's an over-zealous position from Debian not to redistribute firmware. Even systems that are very strict about licensing, like OpenBSD, redistribute firmware, because they have some common sense.
I don't get this. Aren't protocols basically interfaces? So the argument is "Start writing an interface, not a class?" Isn't this common knowledge? This is stuff you learn in programming 101. (I'm not trying to come off as snarky; I'm genuinely curious.)
Do you identify yourself when you vote? Yes. Is your identity recorded with your vote? No.
Good luck trying to get them to use an app if you can't trust them to take a medication.
Recently I got a phone call during breakfast that texstudio had scrambled the file when saving, by rearranging blocks of it randomly. The user had triple backups, on the hdd, usb stick and another one (dropbox?). All files were useless after he saved them at the same time :/

Might be some memory corruption caused by a wrong pointer in any other part besides the saving?
Yeah apt is still fine and I've never seen it update anything behind my back.
I can't really tell what you're advocating here. Using both unproven/unfit technologies and foregoing safety processes is worthwhile risk because the people doing it also lack the expertise to do otherwise?

The "worst case" that can come out of false positives & false negatives in safety-critical conditions has a bunch of dimensions depending on an enormous number of environmental and contextual conditions. There's no PFMEA nor DFMEA supplied in the OP to indicate how one should consider their choices.
Yikes, it sure doesn't. For comparison, mkfs.ext2 asks before proceeding if there's already a filesystem, and outright exits if it's mounted.
From your description it sounds like these decorators are an alternative to type annotations?

Mind showing how these decorators look and work? I'm also building a language, and always interested in seeing novel features like these :).
> but I don't think it was expected to occur a block away

Have you actually looked on a map or simply repeating what tabloids say? They aren't close at all it's nearly an hour's walk away.

It's entirely conspiratorial, it's the textbook definition of conspiracy, where's the evidence apart from heresay and feelings?

Personally think that the US needs something to deflect from its disastrous handling of the pandemic.

Plenty of scientists have looked into it, along with investigative reporters, feel free to read:

https://www.npr.org/sections/goatsandsoda/2020/04/23/8417296...

https://www.scmp.com/news/china/society/article/3079391/bat-...

https://www.theguardian.com/world/2020/jan/31/bat-soup-dodgy...

https://www.washingtonpost.com/world/2020/01/29/experts-debu...

> Immunologist Vincent Racaniello stated that virus leaking theory "reflect a lack of understanding of the genetic make-up of Sars-CoV-2 and its relationship to the bat virus". He states that the bat virus researched in the institution "would not have been able to infect humans – the human Sars-CoV-2 has additional changes that allows it to infect humans."
You probably want to bump that toRAID 6 at least. Rebuild times on arrays that big can be long, especially if it takes a while to get a replacement drive. Plus most RAID controllers can protect against bit rot when in RAID 6 because it determine if bits get flipped. On RAID 5, you don't have that option.
Aaaand once again Gary Kildall gets left out of history. While CEO of Digital Research, the largest software company in the world at the time (besides IBM), he did an entire implementation himself! DR Logo had some innovative graphical features.

https://www.youtube.com/watch?v=l4P6MDuk3Zk
I think an important consideration about the I've got nothing to hide camp is that they don't need absolute privacy.

The argument about handing over passwords or writing letters on postcards falls flat because the person who's "losing" privacy can agree that a medium isn't private and respond according.

Not everyone needs 100% privacy all the time.
This is something I've seriously considered, I just worry that one more layer of indirection creates one more opportunity for problems. (Also being maybe overly publicly blunt, I work with a number of juniors who don't have a great track record for following or even taking interest in why things are structured the way they are, and who also don't have great comfort with SQL.)

RE version control: yes, everything that interfaces with the database is in version control.

RE migrations: I also don't find them confounding, and I've mandated that my team write them all in raw SQL rather than reusing abstractions that were available in our environment, because what I discovered was that migrations were being altered unexpectedly over time where imported abstractions were changing. Everyone has benefited from this.

RE transactions: my only complaint is that (AFAIK, and would happily be corrected if I'm wrong), `BEGIN`, any operation, and `END` are separate statements. When I'm experimenting before testing a full migration, I'll often break down smaller problems and test them within a transaction in my preferred GUI (Postico). Which by default runs the statement where the cursor is placed, and only runs multiple statements if you (remember to) select them. I would love to be able to wrap an entire statement (or set of statements if need be) in a single `BEGIN ... RETURNING * ... ROLLBACK` statement.
Yes, in particular for data analysts using SQL to answer product/business questions in a one-off fashion
To get that close to the office would be very obvious. You'd have to loiter all day or set up a remote host with some power.

To get near a target in the wild isn't that hard, especially if you know where they like to go on a regular basis.

It's lot easier than a lot of other methods, especially for a high level target like a C-level exec who might have access to bank accounts with millions of dollars and like to work at a local coffee shop on weekends.
Interesting proposal. Hadn't thought about spent ammo, but it's a huge problem. The issue there is safe transport and handling, but that's prolly a minor issue grand scheme. More interesting is the encapsulation tech needed to 1) block the relevant radiation effectively enough for it not to be a proximity hazard, 2) to be stable enough for long enough to see the dangerous half-life out, and 3) to encapsulate the lead as well as the radioactives. Not sure if glass encapsulation does that...again, there's science to be done here.
It's really hard to tell because it doesn't sound like there's reliable testing to verify. A recent official count was around 5000 or so. My gut feeling is that a lot of people have had it and didn't know for sure. Given the amount of international visitors and the fact that we have a sizable Chinese business community, it seems like the numbers are potentially higher than what is officially announced.
Honestly I'm somewhat okay with companies collecting user data. They should just make it easy to opt-out of data collection and to delete all my data (i.e., "right to be forgotten").
Mac address restriction provide zero access control. It's trivial to sniff and spoof them.
If you have bars open then there's no point of doing anything to stop spread.

Just focus on inventing vaccine for couple hours a day then hit the pub.
You and I can appreciate the subtle distinction that "anti-chinese government" != "anti-chinese", but tribalist thinking that equates "anti-chinese government" with "anti-chinese actions" exploits subconscious pathways of the human brain, so that it feels "natural" or "easy" to think that way. That is why during COVID-19, even one month ago we have already seen over 600 anti-Chinese and anti-Asian racism in the US [1], and a racially-motivated stabbing in Montreal [2]. Even in the Silicon Valley which is considered a liberal bastion, we have seen racist attacks against Asian-Americans [3].

All of these examples show that even though you and I can draw a difference between a government and its people and therefore do not do racist attacks against random people of a certain nationality, I hope you can see that calling it the "China virus" can compel others do racist attacks. Using reason to fight 600 million years of evolution is hard.

[1] https://www.nbcnews.com/news/asian-america/asian-americans-r...

[2] https://montreal.ctvnews.ca/covid-19-korean-consulate-issues...

[3] https://nextshark.com/silicon-valley-supermarket-xenophobic-...
<pedantry>

Your pedantry tag has no opening

</pendantry>
I guess so. I don't think it's atrocious: it looks like iterating over the upper/lower triangular part of a matrix to me, which is fairly common (in some domains, I guess). Plus, I like that the double for-loop indicates slowness.

However, Python has itertools.combinations(X,2) and Julia has IterTools.subsets(X,2) if that's what you want.
Enterprise and Education only.
I’m in a really strange place.

The last couple of years, I’ve been “refactoring” myself, to pivot from being a manager (I ran a C++ image processing shop for a long time), to being an engineer (specializing in native Apple device programming in Swift).

For years, I never needed to self-promote. The people that mattered knew all about me; warts and all. It wasn’t important for anyone else to be impressed.

I am now working towards hanging a shingle as a contract engineer, and I need to let folks know why they should pay me for my work and experience.

It’s really difficult to talk about myself and what I can do, without it sounding like boasting; yet that’s what I’m expected to do.

I am really, really honest, which is, apparently, absolutely worthless in today’s business environment. The Japanese really liked it, but no one else seems to find it at all appealing. I’m not one of those “brutally honest” people that ends up making a pariah of themselves, but I have a very stringent code of personal ethics that I follow.

All that is to say that I’m not good at the “humblebrag.” If I’m good at something, I simply say that I’m good at it. I don’t claim expertise at anything I don’t know, and I don’t make promises I don’t plan to keep.

You don’t last long at a Japanese company, if you are full of hot air.

I’m way past the Dunning-Kruger Peak, and the Jon Snow Trough.

If I say I can do something, I mean it. I won’t say I can do something that I can’t do.

It’s that simple.
Show HN: Curated SaaS Inspiration List
A system that relies on Google to enforce the privacy rights of citizens is a system that has already failed.
It depends on whether you consider "dodge" in the phrase to be active or passive.

Dodging taxes is active.
Dodging the in-laws because you were in the shower when they dropped by is passive.

Both applications of the verb are in common usage and are therefore valid and obvious enough that you clearly understood the meaning. </pedantry>
> Contractors will generally charge twice the amount per hour as an employee so you're looking at $500-1000/hr.

Yea, no. Not outside of the HN bubble. I run a data science company myself (in Europe). Rates here are really not higher than 80~100 euros per hour. That's for someone with a master's degree in data science and years of experience. On top of that, we have to very actively look for clients and advertise a lot. It's not like people are en-masse knocking on our doors to throw their money at us. So I claim BS on 500/1000 per hour. That just absolutely does not happen except for maybe the 1% who is a celebrity in ML world.
Faster than reflection, Microsoft preview Source Generators for C#
I've always felt that anyone who says "I don't care, I have nothing to hide," was committing to the position that privacy is not intrinsically valuable in itself, and thus should have no problem agreeing to install a webcam in front of their toilet.
>Wanted: redshirt volunteers for an away team to the surface of Venus

I'll do it as long as I get an unlimited R&R budget with total legal immunity for the last month before unidirectional egress
I think there is some slant against "shameless sales tactics" here because many HN'ers aren't in a position to recognize exactly how valuable sales is. There are some well known and well loved "tech companies" that grow to be 90% sales and marketing and 10% engineering after they put their funding to use. And for those here that arent familiar, quite often VC money is meant for growth via sales and marketing, not via hiring more engineers.

What's interesting is that if you do think what you are providing is actually useful or meaningful, then there is nothing shameless about promoting it directly to those that might get use from it. And you promote it to people where they are: in their inbox, DMs, LinkedIn, etc. (We actually get tremendous results by supplementing cold email with phone simply because people are so surprised that we went through the trouble to call. But that's a discussion for another time.)

All that is to say that reaching out to people that might benefit from what you offer isnt sleazy in the slightest and is a practice as old as time itself. They will let you know if they arent interested, usually by ignoring you. Doesnt mean you should stop or feel bad about it.

Best of luck to you.
Can coronavirus – and a new lobbyist – help TikTok repair its reputation in DC?
Original title was too long. It was:

Can coronavirus — and a new lobbyist — help TikTok repair its reputation in Washington?
Is that going to prevent phones and laptops in random places from automatically connecting to a spoofed network?

To my knowledge, it will not. So you'd need that SSID and VLAN to be something like a guest wifi. Preferably with a key that rotates often enough that people will not try and remember the network.

Cause otherwise, it just became a whole lot easier to get a layer 1 MitM on anyone who has that network on auto connect.
Thank you very much for the references. They are very good reads!

In the article about Python, the author said:

> Most languages of interest are context sensitive, and yet we are trying to use inappropriate tools (context-free grammars and context-free parser generators) to specify and parse them. This leads to bad specifications and bad implementations.

Then what do you think is a better tool to specify and parse languages?