skysight-inc/HackerNews huggingface dataset:
I always thought the prohibition amendment was about enforcing a nationwide ban, but individual states could (and did, no?) prohibit the personal consumption of alcohol as they saw fit before then?

There are "dry counties" in the US today, so local jurisdictions can do this. (Note that most local jurisdictions become "dry" after 2am, anyhow.)
I really like what you did with the create module/header/test in the init.sh script. Thanks for sharing!
> I don't like doing this because most people are good and skepticism puts a dark cloud over a lot of good/positive human interactions.

What I taught my children can be applied here...

Most people are good. Some people are bad. The problem is that you can't tell which is which by looking. Being very cautious, but optimistic, is the way to go here.
I’ll try my best to explain the process.

The data comes from places like the Census Bureau (roads, place names) and then a lot of it has to be collected by the like of OpenStreetMap/Google/Other Providers. (GIS Data is big business)

For Vector based approaches (See mapbox) these data are stored in special built databases and usually simplified geometries are served to the browser. The benefit is continuous zoom, but the pitfall is more server side computation and hence cost.

Because of the cost/compute, raster tiles (PNG, jpg, any pixel format) have been much more popular. These start the same, you collect all these data and put them in a database. The difference is the added step of rendering tiles. This one-off computation saves you work from then on. See maps.stamen.com for an example of tiles made from OSM data.

And you’re right about place names sometimes not being apparent. This is a trade off when using open data and auto generated tiles. With something like MapBox’s vector tiles, you have individual decimal level control of things like labels. And zoom level is another computational trade off. You start at 0 and define an arbitrary end. The higher the number, the computation/data increases four fold each n. O(4^n)

And as far as why the size requirements are so big, geospatial data is big. You have to record information on every point for vectors which depending on quality can be a ton. And for rasters, we’re talking trillions of pixels really. That’s why all of this is server side.

And lastly to your point about lightweight desktop software, tiles don’t really have a place in the data process. They’re only really useful for the visualization aspect. And frankly, I think we’re reaching the capacity of the technique, we just might have some headroom in server efficiency.
They are protected, but practically enforcing those provisions is very difficult.
Only because the current scope was the global one.
There is a 'pre' in 'pre-mature' for a reason. If you don't seek to optimize even when it is 'mature', you are not a good software engineer.

In this story, instead of doing meetings, why did no one fire up the profiler and actually try to figure out why the heap size was so big? If the senior architect's first thought is to come up with an elaborate proposal even before they understand the memory and processing budgets of their program, what are they a senior architect for? It's like trying to shave off micro seconds of processing time while your network call takes milliseconds.

Good style guides strike the balance where common caveats and easy to miss gotchas are avoided by making rules around them (and then it's no longer premature optimization because someone already did the math and decided on the optimization, so each new programmer using it is not optimizing but merely following a rule in the style guide), while leaving the complex cases for the programmer to optimize as and when needed.

Many people who scoff at opinionated style guides forget that in a big company you don't want 1000 engineers to spend time independently figuring out whether X needs to be optimized [1]. If someone can do the profiling, figure out what should be done in 99% of cases, make a style rule out of it explaining the rationale, it saves everyone the hassle. I believe Google does exactly this.

[1] Apart from the waste of time, not every engineer might be capable of actually figuring it out. Many of the intricacies of C++ for example aren't immediately obvious even if you have spent years with the language. It's more optimal to hire a few C++ super-experts, have them do the profiling, and come up with style guidance.
Alternatively they could just take away the phone. Unless we're talking late teens (by which point you've hopefully imparted some self control on your kids) the kids are going to lack the ability to get their own phone.
Perhaps a little unusual, but: a team of 5 people (3 backend engineers + a product manager + a solutions architect), including myself, is looking for a project.

Location: Poland, UK, US

Remote: only

Willing to relocate: no (but can occasionally travel for meetings)

Technologies: Clojure, ClojureScript, Common Lisp, JavaScript, Java, C/C++, Erlang, Neo4J, PostgreSQL, Chef, GCP, reactive programming.

Résumé/CV: on request

Email: hn_work@jacek.zlydach.pl

Context: we're a group of independent contractors who have, for the past several years, worked together creating and developing a product in cybersecurity risk management space, targeted at enterprise-level customers. Despite breaking into the market and entering evaluation process with multiple large and well-known enterprises, the parent company owning the IP has started to disintegrate and we're being forced to look for another work. Since we're an experienced team that works well together and have been successfully solving hard problems and delivering for years, we're trying to find an opportunity to work on something together.

Between us all, we have over 60 person-years of commercial development experience. Two of us are capable handling front-end development, but we've all been mostly backend-focused. Individually, experience additionally includes: game development, hardware and firmware engineering, CAD/CAM (Fusion360), network engineering, devops.
We provide a SaaS offering of Apache Pulsar in AWS, Azure, and GCP: https://kafkaesque.io/
It hopefully raises conversation on the value of property ownership generally in society and the benefits of communal/public property.
The fact that he absconded by private plane, was never in dispute.

Excerpt from the article:
The private jet on which he escaped reportedly landed in Istanbul first, prompting an investigation by Turkey.
The user code it's all running in a native CPython interpreter.
divvyhomes.com | San Francisco, CA | Full-time | Onsite

Divvy is helping families achieve the dream of home ownership. Customers choose any home on the market, we buy it, and then lease to them. With each monthly payment, the customer accumulates equity in the home. At the end of the lease term, our goal is for the customer to accumulate enough equity for a down payment.

Where does software fit into all this? We build software for every piece of the home buying process, from initial application to putting out offers and all the way to helping our customers maintain the home.

If you're someone who thrives on solving operationally complex problems, please reach out!

Hiring Data Scientists, Generalist Engineers and Front-end Engineers!

https://jobs.lever.co/divvyhomes
The "blue-eyes/brown-eyes" experiment was essentially a lighter variation on the better-known "Robbers' Cave Experiment" in psychology. You arbitrarily divide people into two groups, like "blue-eyed folks" and "brown-eyed folks" (in other words, the arbitrariness is quite overt and visible) and then look at how conflict and cooperation play out between the two groups. That's a far cry from what happened during OP's "diversity training" exercise.

(It turns out that conflict won't necessarily arise in that kind of situation, but that it's exceedingly easy for a bad actor (such as the experimenter herself) to manipulate the groups into hating each other. Reference https://www.theguardian.com/science/2018/apr/16/a-real-life-... )
More likely re-used cache.
> IMHO all the rage on async comes from an era when interpreted languages where the main trend as they demonstrably increased developer productivity

I disagree.

Although it supported (cooperative) multithreading, Windows 3.1 applications typically had one thread that ran a message loop, invariably written in C or C++. Same with MacOS applications since 1984, except at first it was Pascal and 68000 assembly. CICS was originally single-threaded, running transactions written in System/370 assembler and later COBOL, until they bolted multithreading onto it in order to take advantage of the new SMP mainframes IBM was building. thttpd is from 1998 and is of course written in C; see http://www.acme.com/software/thttpd/benchmarks.html. One of the biggest changes in web-server software over the last ten years has been the move away from Apache to nginx, which is of course event-driven and written in C.

> async code is harder to reason about versus synchronous code.

Well, this is surely true. But generally the choice isn't async code or sync code; it's async code or multithreading. And async code is much easier to reason about than threads-and-locks code.

When you can hack it, a better approach is multiprocessing, also known as message passing, where each thread has its own private memory space, so it looks just like sync code. That's how Unix was built (though not just one but several broken threads models got bolted onto it later), it's how Erlang works, and it's the model adopted for JS in Web Workers. It has some performance cost. (Transactions, as in CICS or the Haskell STM, are another appealing option.)

Rust offers a really interesting alternative here: it statically proves that it's impossible for multiple threads to share access to writable memory (except when you cross you fingers and say "unsafe"), so in effect the threads are compiler-enforced multiple processes, but with the ability to dynamically freeze data so you can start sharing it between those processes.

From my point of view, what happened is that preemptive shared-memory multithreading with locks became a lot more popular in the 1990s and 2000s, driven by a rise in popularity of two systems originally developed for microcomputers without memory protection: Win16 (later Win32, Win64) and Java. Real-time control systems like the THERAC-25 control system have always used preemptive shared-memory multithreading, invariably with locks. (In the minimal case they use interrupt handlers rather than full-fledged multiple threads, but those have the same issue.) With the advantage of historical perspective, we can now see that it was a mistake to extend that programming paradigm to things like GUIs and web servers, but to some extent we're stuck with it for legacy systems like the JVM, Win64, and pthreads.

For new systems, though, we can use async, or multiprocessing, or transactions, or Rust's borrow checker, or a mixture.
One of the nice things I have done, is I have the porch lights come on at sunset. If I let my dog out I generally have to walk all the way to the other end of the house to turn this light on then walk back to let him out.

Then before I go to bed I turn it off.

After I installed a smart light switch, It comes on automatically and all the lights in my house turn off with a simple voice command.
Sampler – visualization for any shell command output
Ok, I’ll bite and lay it out in detail:

1) It’s not as rare as you seem to think for planes to go missing (there are huge holes in radar and ADS-B coverage), just usually it doesn’t result in significant loss of life like MH370 did. MH370 is not even the only plane that disappeared after having (supposedly, as in none of the cases was it proven) it’s instruments intentionally turned off, it’s just the one most known and with the most passengers.

2) The technology solution exists, but it’s not cheap. Anything that cuts into airline margins without significant benefit to them usually isn’t done unless regulated to do so. In the case of TCAS, it was mandated by the ICAO. There are other things besides TCAS has thought about mandating, but has been successfully lobbied against by airlines.

3) Back to the original point I was making, anything expensive will be vehemently fought against by the airlines. If a regulatory body feels the risk is common enough, it’ll mandate it, but that barrier seems to be very high based on my laymen’s view from outside the industry.

One could argue the severity of the risk is the root cause, but I feel it’s rather the expense involved. You’re free to have your own opinion, but please don’t expect someone to not push back when you present your case with false assumptions.
This article from 2010 goes into a lot of detail about which labels to show and how to place them. https://news.ycombinator.com/item?id=1963612
> I had to spend time justifying the presence of that ‘0’ many times over the years as other developers questioned its purpose.

One of the better cases for using appropriate comments...
I daydream about spending, say, a month in a cabin in the mountains with my kids, but... I couldn't work without an internet connection myself.
I can agree on the Deauth, though it would maybe make it less receiptable to automated attack.
I see that Action frames also is encrypted and verified when enable PMF, so it is still viable to avoid the exploit?
No. That is close to what existing chips do.

r31 = (rx<=ry)? ~0:0

(or <, etc.), result in r31 implicitly. Followed by

pc = r31? pc + n : pc

i.e. a single conditional branch instruction, for all conditions; or

rx &= r31

effectively a conditional move instruction, or

rx -= r31

effectively a conditional increment.

I.e., actually reduced, but more powerful. (Implicit destination followed by mov is free, because of register renaming.)

Decoding the RISC-V compare-and-branch instruction is a whole project.
Bringing Humanity Back Is the 'Greatest Gift AI Can Give'
Japanese conviction rates exceed 99%, he's 65 years old and facing 20 years. It's not really that surprising he fled, I have a hard time believing that any of us in a similar circumstance and with similar means wouldn't do the same. He was faced with an A | B choice. A: Stay and die in prison. B: Flee and maybe not get caught for a hot minute, eventually get caught, die in prison.
SEEKING WORK - Chicago, IL - Remote

Skills:

– iOS & iPadOS Swift Development

– Augmented Reality Development (ARKit, SceneKit, RealityKit, Metal, Vision, Lens Studio)

– Growth

I specialize in developing augmented reality iOS apps. Several of my apps were handpicked and featured worldwide by Apple. The last AR startup I consulted for had their app demoed by Tim Cook on HBO's Axios show. I'm currently developing an iOS open-source WebXR browser. I've built augmented reality, social, gaming, messaging, lending, consumer, and location-based products. I am a startup founder, native iOS developer, and growth/marketing expert.

Experience with: Swift, ARKit 3, Metal, RealityKit, iMessage extensions, Firebase, Vision, AWS, Sketch, Wireframing, UX, and SQL

Website: https://1984.dev

Email: tony@1984.dev

LinkedIn: https://www.linkedin.com/in/atmorales0/

Recent Clients: Mozilla, iScape, Hillside Software

If you have any questions: Shoot me a message & let's talk!
Even concepts like 'harm' or 'someone else' are hard to agree with.

If I sell a kid an illegal drug, am I harming the kid? If I sell it to a young adult who I have as much belief will make poor decisions as that kid, am I harming that young adult? If I sell it to a parent who I believe will neglect their kids, am I harming someone? If I sell chemicals that will cause birth defects, but the other party agrees to them (in the 2pt font fine print), am I causing a level of harm they did not consent to? If I build an incinerator behind my house that produces the most foul smelling, but not actually poisonous, fumes imaginable and run it every day, am I harming my neighbors?

A person can (and plenty do) justify prohibition over the idea of preventing harm like you are saying.

Take segregation. If I require all facilities to equally be accessible to males and females, am I harming anyone? I'm including things like changing rooms. Enough people will say yes. Go back a few generations and people would say the same about other forms of segregation even if today's response is that if someone was harmed by it then they need to get therapy and stop being abnormal.
Well, if your own policies are in accord with the government, you don't need to wait for it to request a takedown.
I say unfortunately because the product quality is reduced as a result. So yes, we have may have more stuff, but most of it is seriously substandard.

This may be a positive thing for some people. It's a negative thing for me, though, because it increases the difficulty of finding good solutions, and reduces the number of good solutions that exist.
So much so it's a "Reason my child is crying" meme.
Why cryptocurrencies?: A Swiss bank account in your pocket
If you make other people's planning problems your own problem, then over time everyone who planned poorly comes to you to save your day, and you burn out.

And then you're somewhere crying on the floor or in a hospital, and not coding. The organization around you has adopted to poor planning, because you encouraged them to do it.
The new can certainly looks great.

I wonder if there's anything that can be done about overflowing trash cans. I feel like most of the litter I see in Manhattan comes from when a can is full so it accumulates next to it.

Is there any way to build a reliable sensor that could somehow be powered without a (non-existent) ground connection, communicate, and reliably survive without destruction for years, that could alert the closest sanitation workers?

It definitely seems like a tall order. I'm not even sure what kind of basic sensor would be applicable. Unless it was just CCTV feeds with coverage of all trash cans that could be fed into machine learning to identify "full" cans.
Take a look at the Apache Flink CEP library, which operates over unbounded streams:
https://ci.apache.org/projects/flink/flink-docs-stable/dev/l...
It strongly depends on the maturity of the team. All the comments in this thread are assuming the point of view of the heroic developer and his tribulations. Managers know that some devs will sit on their hands and do shoddy work without constant prodding. A good process has the appropriate amount of incentives to move quickly and checkpoints for quality and accuracy. The more mature your team, the lighter these checkpoints can be. I've found that a lot of teams will essentially graduate from sprint-based Scrum to Kanban once they've acclimated and gained some trust. Same with estimates. They may be necessary at first, but eventually become less valuable.
Stacker | FULL-TIME | REMOTE ONLY (limited to Europe!)

.

We're on a mission to let anyone create software, by building a platform to let you build apps without code.
We want to change the way software is built. That's a pretty big task, and we've got some exciting problems:

.

If you're a PRODUCT-FOCUSED ENGINEER, come and talk to us about how we're building a platform that lets us run rich, flexible apps built without fully code.

You'll be creating a React-based app editor that lets users create software through their browser.

You'll be building a Python-based backend that can connect to any data source, and simulate running complex data processes.

You'll taking ideas from programming language design and turning them into flexible functionality that can be used by non-programmers.

You'll be shipping new modules daily, which are used immediately by our users to make their apps work better and do more.

.

If you're a MULTI-SKILLED PRODUCT DESIGNER (UI+UX+Product), come and help us design a modular product that empowers non-developers to build the software they need.

You'll be creating a flexible design system that we can be customized by the user and still look great.

You'll be taking common web features like news feed and messaging, and stripping them down to their most pure form so they work in any app.

You'll be designing a set of modules that let non-technical users feel empowered and able to create amazing, innovative apps.

.

We're recently funded, and are a fully remote team, but we get together every few months.

We believe in Radical Transparency, being Empathetic and Kind and Making a Dent in the Universe.

Apply at https://stacker.app/hiring . Again, hiring within Europe, and as always, no recruiters ;)
I've never seen a UDP application that didn't depend on port numbers, which are an extra UDP provides.
Newsflash - he wasn't Google's head of international relationships like he claims. I keep seeing people in insignificant positions trying to present themselves like somebody they aren't. For example, account managers trying to make it sound like the manage large teams while it's an entry level sales role, or tech leads trying to use it as a formal title (it's not - basically everyone going for L4 is a tech lead, and you can self-proclaim).
> If this idea were viable, someone somewhere in the world would have already done it.

Hong Kong does this in the downtown area. It’s viable because of the very high population density and prevalence of foot traffic.

https://duckduckgo.com/?q=hong+kong+pedestrian+bridge&iax=im...
So should we keep our kids on whole fat milk, or is 2% good enough? That is, what does the correlation/curve look like? Is the takeaway just that we should avoid fat free milk?
Plenty competing Apache projects exist, Pulsar and Kafka aren't unique in that regard.

I don't think Apache cares if it's maintaining similar projects.
SEEKING WORK - Remote (Some traveling within EU possible)

Technologies: Clouds (AWS, Asure, GCE), Terraform, Kubernetes, Docker, CI/CD

Team up to 4 people with Mid to Senior DevOps experience, small part time projects also welcome.

LN: https://bit.ly/36kJamp
One of the things that people have a really wrong idea about in the US is the notion that foreigners are nice. Some of us pretend we're nice while you're a tourist spending money in our countries. It's americans who are among the nicest people I've met. You suck at politics, but you're nice. Even your tourists aren't as bad as people say.
Author discusses a Java 1.3 app where he saved tons of memory by reducing leaf collection sizes.

I had sort of the opposite with a Java 1.2 code base. Some clever person has noticed that a bunch of vectors often had only 4-7 entries so they overrode the default (10) to 7. This is unfortunately greater than n/2 which will become important momentarily.

In Java collections tend to double in size on space exhaustion. Using a multiple instead of addition amortizes the insertion time to O(1). So if you start at 7, you go to 14 next.

As I’m sure you can guess, the number of entries crept up to 8 over time. Switching back to the defaults reduced the wasted space from 6 to 2 slots, and dropped our memory usage by more than 10%.
I'm sure I don't have the wealth of experience you fine people have. But I've been in enough teams and companies to see that whatever methodology is being embraced, it seemed like the X factor was always what kind of people are practicing it. If someone likes always being in meetings, you're going to be in a lot of meetings. If you're on a team with smart people you enjoy working with, with open lines of communication, then the rest just seems to fall into place as long as everyone is doing their job.

Then again I never worked for Hooli.
What you're really asking for is to change the backing HashMap.DEFAULT_INITIAL_CAPACITY field.

https://hg.openjdk.java.net/jdk/jdk14/file/f77e9e27b68d/src/...

There's no hard data to show that a smaller value would give better performance for typical Java workloads. Resizing operations are quite expensive.
I've wrote about the challenges that Cerebras went through and what is next: https://towardsdatascience.com/why-cerebras-announcement-is-...
Pixels vs. Relative Units in CSS: why it’s still a big deal