skysight-inc/HackerNews huggingface dataset:
It's decriminalized. That's literally the word. It's still illegal to possess controlled substances, but not a crime right away.

There's a published list [1] of illegal substances and what quantities constitute as "personal use" (like 25g of weed or 5g of hash - translated in "individual doses"). More than that you can be trialed for drug dealing, which is a fair trade-off.

Yes it's still illegal to possess any of these substances, but what happens is that if you're below the "criminal" threshold, you get a doctor/shrink appointment and usually pay a small fine (around 25 euros). Nothing gets written to your criminal record. Repeated offenders might have more several penalties like community service.

Recently there's been a surge in homelessness and harder drug consumption, analog to the rest of Europe, due to a huge housing crisis, very stagnant salaries and overall poor quality of life here (in Portugal).

[1]: https://dre.pt/dre/legislacao-consolidada/decreto-lei/1993-5...
Everything I've read about the snapmaker suggests it's a "jack of all trades" and not really great at anything.
Hey Lily, I really enjoyed reading Rime's blogs on Substack. For everyone, here's the link: https://substack.com/profile/131433903-rime-labs.

In fact, I had no clue about Cylinder Phonographs. Your discussion on Enrico Caruso motivated me to dig deeper. I found some cool gems:

1. History of the Cylinder Phonograph (https://www.loc.gov/collections/edison-company-motion-pictur...)

2. How the Cylinder Phonograph Works (https://www.youtube.com/watch?v=fWLlbk_bI7E)

Looking forward to watching the recording of your Bay Area NLP talk!
There is often this line "apology for the leadership decisions that led to these peoples’ unemployment?" and the options are as such:

- In an env with cheap money, business chooses not to take advantage, growing slower, and in turn, possibly losing to competitors who did choose to take advantage

- In an env with cheap money, business choose to take advantage, growing on pace with competitors and either keeping or building a competitive advantage

When the environment shifts:

- Businesses that chose not to take advantage of money are less likely to have layoffs, but are they on par, behind or ahead of those that did? Some will be ahead for sure, but it's not guaranteed.

- Businesses that choose the money strategically cut and double down on winning bets

The ultimate key take away for readers reading this: Understand what kind of business you work for, and decide for yourself if you are happy with leaderships risk profile. If you aren't, adjust accordingly...

EDIT: To be clear, I'm not pro-EA and I think they have milked their products for a long while, I'm talking about the meta here.
FWIW, there are such things as chalk holders, also called chalk chucks.

(As a tongue-twister, do you now have chalk chuck shock? :)
Look into using ‘sudo’.
Sudo is not just for running things as root.
It can also be used to allow a web service (Apache+PHP) to call a specific program (git) as a specific user (e.g. nobody).
First, the context of the clothing vs. the famous religious figure should immediately invite more scrutiny. Second, though it's a bit hard to put into words, the images have a sort of false shine to them while also showing an overdone "realism" that only approaches the grittiness of the real thing.
I think underperforming coworkers is a problem regardless of the work situation. If the worker was slacking off while in office, would that be evidence that remote work should be mandated? Or would that be an incident to be corrected by HR and management?
Yeah but the Python code is so bad that it's easy to get a 10x speedup using only numpy, as well. The current code essentially does:

import numpy as np

n_sides = 30
n_polygons = 10000

class Polygon:
def __init__(self, x, y):
self.x = x
self.y = y
self.center = np.array([self.x, self.y]).mean(axis=1)

def find_close_polygons(
polygon_subset: List[Polygon], point: np.array, max_dist: float
) -> List[Polygon]:
close_polygons = []
for poly in polygon_subset:
if np.linalg.norm(poly.center - point) < max_dist:
close_polygons.append(poly)

return close_polygons

polygons = [Polygon(*np.random.rand(2, n_sides)) for _ in range(n_polygons)]
point = np.array([0, 0])
max_dist = 0.5

%timeit find_close_polygons(polygons, point, max_dist)

(I've made up number of sides and number of polygons to get to the same order of magnitude of runtime; also I've pre-computed centers, as they are cached anyway in their code), which on my machine takes about 40ms to run. If we just change the function to:

def find_close_polygons(
polygon_subset: List[Polygon], point: np.array, max_dist: float
) -> List[Polygon]:
centers = np.array([polygon.center for polygon in polygon_subset])
mask = np.linalg.norm(centers - point[None], axis=1) < max_dist
return [
polygon
for polygon, is_pass in zip(polygon_subset, mask)
if is_pass
]

then the same computation takes 4ms on my machine.

Doing a Python loop of numpy operations is a _bad_ idea... The new code hardly even takes more space than the original one.

(as someone else mentioned in the comments, you can also directly use the sum of the squares rather than `np.linalg.norm` to avoid taking square roots and save a few microseconds more, but well, we're not in that level of optimization here)
But the cyclist is doing his required weekly activity.
The prius occupants will have to do sport on the side to stay healthy ...
Look at the performance/power of the M1/M2, this is a result of tighter integration. I agree with you Apple does a lot of price differentiation with the amount of storage/ram where it does not reflect at all the cost of the components.
I know folks who have setup a room at home that looks complete unlike the rest of the home to work in.

Paint, flooring, lights, switches, door handles, ask completely different.

It helped them shift in and out and it was pretty cool to experience, similar to when someone has a basement that feels like it transports you to another place entirely in a desired way.

I find wfh and hybrid life has me thinking about design much more
You really need to have your own office space, and treat it like you are "going to work now" and working in your office. That space needs a door you can close.

I know it sounds hard to do if your family is used to you 'floating around', but I can tell you with 100% certainty it will just not work out long term any other way.
For that price I would just sell it to the Mossad.
I fully agree with you that many people misunderstand what AI does. As advanced as GPT-4 is, it is still a fancy autocomplete and nowhere near AGI.

But I think the bigger picture is that there is no need for AGI in order for AI to be incredibly dangerous for society. There is no need for the AI to feel or want anything. The level GPT-4 and MidJurney is already highly socially dangerous.
Why puzzling? Does Google not have people they would like to fire?

They're fine financially but with Microsoft having made them dance with GPT, the investors have seen Google has become too complacent and their monopoly on search is loosening.

Seeing some scapegoats get fired might put the investors are ease.
In normal development, you don't try to add a number to an object, or two arrays together, for instance.

I know people just _want_ to bash JS because it's trendy, but come on.
> Unless they really ramp up nuclear

China is ramping up nuclear:

https://www.bloomberg.com/news/features/2021-11-02/china-cli...

> The first 100.000 kilometers of energy are already spent driving of the lot, building a new car

China is the leader of electric 2-seater cars (Wuling Mini, Geely Panda Mini).

Comparison between a Wuling Mini and a Tesla Model 3:

- battery weight: ~100 kg vs. 500+ kg

- total weight: ~600 kg vs. 1,600+ kg

- retail price: ~5,000 EUR vs. ~50,000 EUR

I doubt it takes as much energy to break even on a Wuling Mini than it does on a Model 3.

A better question would be - why should Europeans be excluded from affordable electric Chinese cars because of the political chess between the US and China?
IBM is second only to Samsung on amount of patents per year.
I don't think it's quite the same thing, is it? I mean, Google isn't banned, they just can't/won't fulfill all the demands by the CCP. The end result is the same, but it's the difference between "you're not allowed to open a bar" and "you're not allowed to open a bar without getting a license and obeying the laws".

The problem with TikTok is that it seems to do nothing that domestic US companies don't do, so it's perfectly legal. Outlawing the problematic aspect of social media would essentially destroy Facebook, Twitter, Reddit, and severely damage Youtube, so they need to make it a real ban on the company, not the company's practices.
Same. 5 months ago I was super happy I had found a great remote job, and now I don't know what happens in 2 years. I wish I had a few apartments to rent or a public sector job...

(Not that I don't feel like working, I'd work until 80 or so, more like worried about not finding things over the age of [redacted]. Having a family means your monthly burn is 5X-10X instead of X.. you can't just live on ramen for 2 years, there are expectations, etc)
These thoughts of a unified “we” are the first sign of self deception. We must all get along, yet there will not be found a universal consensus among humanity.

Keep on going man, the future shall arrive, and not everyone will be ready.

We must continue this debate of our human competence, relevance of public narratives, and true potential of outcomes. All the meanwhile the future presses upon us.

Humans are still by far the greatest threat to our humanity.
We're 7 but we're only 3 front end developers that have the technical expertise to do this support task. I've though of putting FE developers in rotation for support, but after talking with them and other developers, it's very off-putting for them.

It takes a lot because the app is very complex and if you don't know all the little things, a wrong reply can cause a lot of issues for the client.
Greenpeace: Ban Private Jets
I think APL is very beautiful as someone who has longed to learn it from afar and not yet had the time, would be very curious to get more insight into how it changes the way you approach problems in both APL and programming in general, and how it gets you to think differently.

If I recall correctly, the Dyalog branch of APL allows for variable names? I kind of like the idea of zero variable names and all strange symbols. The reasoning that after you learn those, you can read any program and understand what's going on at every step, without needing to check what each function actually does -- that sounded very intriguing to me.

And the reason that "checks out" (or may) I guess is that the language's primitives are very carefully chosen such that you have a kind of extreme economy of "words" - so your LOCs will be so low such that you may not need to abstract lines into mysterious function names to reduce the number of lines a person has to read to understand what a program does. Aka the economy of words more than compensates for the lack of abstraction.
Zoom has this option.
This is not your linkedin profile.
A more accruate keyword for googling is "SIMD". Single Instruction Multiple Data.

Numpy's tutorial for broadcasting is also a good starting point.

https://numpy.org/doc/stable/user/basics.broadcasting.html
Huawey added their own photo on top of yours. Samsung upscales.
Because people have to pay bills and there aren't other options readily available. And I think it's OK for workers to try to change company culture over time while employed.
Show HN: CodePrompt – a UI for loading code repos into GPT prompts
Hi HN, I'm Chun Rapeepat.

Last week I started playing with GPT-4 and tried different ways to use it to optimize my dev workflow. It was fun, and I was just blown away by what GPT-4 can do.

The idea of CodePrompt first came to mind when I read "Show HN: GPT Repo Loader – load entire code repos into GPT prompts" [1]. It was precisely what I wanted to do! So I tried it.

The GPT Repo Loader works pretty well on a small codebase; However, due to its limitations in loading all files and content into the prompt, I still ran into token context limit issues and needed to copy/edit the code myself.

That's when I started working on CodePrompt. Instead of loading the entire repo, why not just load only relevant files or portions of code (or function headers?) that need for the requirement?

How I designed the user journey of CodePrompt.xyz:
1. Choose a GPT model.
2. Select a repo that you want to work with.
3. Pick the relevant files that you want to include in the prompt.
4. Add specific instructions and remove irrelevant codes as needed.
5. Copy the prompt to your chosen GPT model to generate the desired output. Chat & Iterate.
6. If you want to do something else, just go to (3) again.

This allows me to easily generate prompts to do something like
- Implement features that evolve edits on multiple files
- Create new components while reusing existing codebase
- Generate code with the same style as other files, etc.

I would love to hear all your feedback and ideas on how I can improve it. Or if you want to chat, feel free to ping me on my Twitter @chunrapeepat.

P.S. The project is 100% open-source and free to use.
Check it out: https://github.com/chunrapeepat/codeprompt

[1] https://news.ycombinator.com/item?id=35191303
Stalin wanted it so much, he even had entire research institute dedicated to automatic voice recognition problem, staffed with jailed engineers, and utilizing vacuum tubes electronics (Solzhenitsyn, In the First Circle).
“WHY would a superintelligent AI, trained on the collective data of humanity, want to destroy humanity?”

It won’t want to destroy humanity, it will want to do other things and humanity will be in its way

“dying oceans, plastic in everything, increasing disparity and rise of authoritarianism, nuclear proliferation, etc.”

Those things are very bad but they probably won’t destroy all of humanity
Not necessarily, the concept of universal grammar is more about the concept of innate grammar that has to be universal for any homo sapiens language, but this empirical observation is more about the similarity of particular languages, many of which are significantly related to each other.

For example, if it had historically turned out (or will turn out in some future) that everyone on Earth speaks some variant of English or other Indo-European language; or some variant of Chinese or other Sino-Tibetan, then there would be many features of grammar that technically are universal across the population but that wouldn't be evidence that "universal grammar" (as used by Chomsky) is indeed a thing.
> elections

Yes. https://en.m.wikipedia.org/wiki/Elections_in_China
GPT4All: Running an Open-Source ChatGPT Clone on Your Laptop
It's not just a fork with rebranding though. The development done on top of slic3r are genuinely huge. And you can use this fork for any printer too (and plenty of people do).

It's nice to pay for actually open development.
This is incredibly counterintuitive as really what you mean is "rape feels good to a rapist". That's the important part. I feel like the majority of people, if held at gunpoint and forced to rape somebody, would not be comfortable, they would not enjoy it and it would be a scarring, traumatic experience.
March 30th: CAIDP Files Complaint and Request for Injunction Against OpenAI
Twitter bots already did that for a while.
Super Mario Bros 3 cost $49.99 in 1990. Adjusted for inflation [1], that's nearly $120 today.

Video games have actually gotten somewhat cheaper with time. And they frequently contain more content these days -- or are open-ended -- so the ratio of dollars to hours spent entertained is more favorable.

[1] - https://www.bls.gov/data/inflation_calculator.htm
Having a few spaces setup in the open and in a study complete with dual monitors etc can let you change up the scenery or when needed be present elsewhere and keep things moving.

Distractions at home might be like distractions and interruptions in the office
>You typically need to give the under-performing employee at least a chance to improve and meet the required standard - otherwise the hiring company will be leaving themselves open to a wrongful dismissal suit.

In the USA where most states are "at will" employment, a "PIP" (Performance Improvement Plan) or providing multiple chances for an employee to become better isn't required by law: https://www.google.com/search?q=employee+%22performance+impr...

That said, some companies in some industries add a PIP as a social norm rather than a requirement of law.

E.g., An underperforming programmer might be put on a PIP. However, in more cutthroat industries... a new car salesman who isn't selling the expected quota of cars or a hedge fund associate who lost several million on a bad stock pick are often fired immediately without any PIP.
As of 11-22 GM "expects its EV lineup to be profitable by 2025."

"Ford's Model e business generated operating profit margins of roughly negative 40% in 2022, according to the company."

I don't see how those companies survive.
... Because foreign legacy manufacturers aren't fast enough to the EV transition, is the thesis posted by the author. Such as in this quote where he ignores foreign car companies who are marketing EVs in China and not once mentions price. Nor does he mention the potential role the growing US-China tensions may be playing in the decisions of Chinese consumers

"while foreign companies like Toyota and Volkswagen are manufacturing and selling mostly petrol and diesel cars in China."
> “foreign adversary.” Those countries include China

This is a pretty massive policy shift, no? All the other countries are effectively at frozen-conflict or proxy war status with the US, and heavily sanctioned. Putting China on that list is a major step towards at least a Cold War with China, let alone a hot war.

"You can no longer buy anything manufactured in China" would wreck the US economy in the medium term. It would also probably make the war over Taiwan inevitable.
> The criticism here is rolling the dice in the first place, not the probability of success

Sure, but a principal component of my complaint is that they're being dishonest about the odds by focusing on the 1 in 1000/10000/100000 case and giving limited airtime to the 999/9999/999999.

I agree that both stories need exposure but lets remind ourselves of who the target audience often is. A child wishing to transition and a parent seeking to reject it. Right now I would argue that conservative sources have a strong parental bias in this generational battle. However I share concerns that people might move through it too quickly, this is why ethical transitions tend to have a relatively high bar (e.g. live as your gender for at least a year prior to any transition). This is why a hot topic right now is access to puberty blockers which is a compromise solution to allow adolescents to postpone puberty (but not transition) until they have a clearer understanding of who they are.

> Can you describe what these are? stuff that flew under the radar before aren't defacto rights.

I feel like we only have to look at somewhere like Florida to see the start of discrimination with issues such as access to healthcare (e.g. Medicaid) for transitioning or freedom of expression, in the Florida Parental Rights in Education Act [1] (colloquially known as the "don't say gay" bill). Note how it means that children who have gay or trans parents will be prevented from being able to talk about their home lives and thus; express themselves.

[1] https://en.wikipedia.org/wiki/Florida_Parental_Rights_in_Edu...
As said by others: you should reconsider and learn the symbols or k or j or Klong which use your normal keyboard. In k there are very few commands and it won’t take you long to learn them and in your head, at first, say things like 5 cut range 9 etc. You don’t notice after a while, like a natural language sinking in, that you don’t do this anymore and the symbols just ‘arrive’ instead; you will find patterns and type idioms faster than it would take you to look up (let alone learn how to use it etc) the npm in js let’s say. At that time you would not really enjoy not having mastered symbols but words instead.

Also, nothing keeps you from implementing names functions in k or j out of the 1 letter ones;

3#!9 / original

0 1 2

take:{x#y} / or take:#
take[3;!9] / 1 readable function

0 1 2

range:{!x} / or range:!:
take[3;range[9]] / all readable functions

0 1 2

take[3] range[9]

0 1 2

In k. You can make a readable lib, but I wouldn’t.
“The Buck Stops Here” Desk Sign
That ship sailed with social media.
This superintelligence can't even drive a car yet.
Everything you said is correct. And just to be clear, in the US it is technically very straightforward in most states and you can fire people for any (non-protected) reason or for no reason whatsoever without any notice. However, there is always a risk that people will sue the employer by claiming that they were fired for reasons other than underperformance (gender, race, religion etc).

Employers in the US don't care about giving people the opportunity to improve, it's more about documenting the underperformance so there is an airtight case against the employee - nobody can claim a protected reason if the underperformance is very well documented.

All of this said, and this applies to smaller companies more than bigger companies due to the risks involved, if the employer is very confident the employee won't be able to argue that they were fired due to a protected reason, in most states they can just fire them in the middle of the day with no justification: "I don't like you, out of here".
and the new twitter api limits announced is like 50 per 24 hours… https://twitter.com/igorbrigadir/status/1641201626449956865?...
Thank you for verbalising the issue, overconfidence was the risk I was seeing all along. Widely accepted, shamelessly overconfident, bus still potentially gibberish generator.
the issues are trust. not whether you can get users to produce content for it.

edit: someone else mentioned distributed systems, again the point is not these became decentralized or federated or anything like it, the point is them being Free, as in you can see how things are done, it gets harder to perverse the trust. And lets say a bad platform from a foreign entity is shown to compromise your national security, there are multiple options besides just showing the issues, presenting solutions/patches to the problem that troubles your nation, and last case scenario, migration path to the citizens using that service to a in.country managed one. The last one was being tried, having Microsoft/Oracle managing TikTok in the states, would a situation like that become easier with time, had all these platforms been Free Software?
In theory maybe.

My point is why should I even make that fight? I have my own issues, my own life, my own people that depend on me.
NATO is not a political organization (I know Turkey didn't get the message, but still).
I know a Computer Science graduate (who is doing her MS now) tell me she didn't know what a program is. So...
If you're seeing kids in the gutter with a drug problem, you can either be interested in them becoming kids in the gutter without a drug problem or in them not being in the gutter (and thus being able to avoid the drug problem).

Despite what certain people will tell you, drugs don't magically jump at unsuspecting kids to turn them into fiends. Some drugs are extremely chemically addictive but most addictions start as psychological addictions and most of those are either from self-medicating, numbing or for performance enhancement.

And this doesn't even get into why people get into the illegal drug trade to begin with. But reality is much more complex and touchy-feely than a good story about good cops shooting bad criminals trying to corrupt our children.