Hacker Newsnew | past | comments | ask | show | jobs | submit | 314's commentslogin

But Aaron Swartz did it for the benefit of other people. These fine people did it to uphold american values and enrich themselves at the expense of others. The law is clearly on their side.


This but unironically. "did it for the benefit of other people" is redistribution, which is straightforward copyright infringement, even if you think it's a laudable act. AI training was the reverse, because courts have so far ruled is fair use. When AI companies were engaging in piracy, they were sanctioned as well.


> When AI companies were engaging in piracy, they were sanctioned as well.

Some token settlement for an insignificant fraction of their revenue is not in any way a "sanction".


That just feels like more of a general complaint about how the justice system is set up. The same logic applies to how a $300 speeding ticket "is not in any way a "sanction"" for someone making $1M/year, or even a well paid SWE reading HN.


I feel you but are you possibly conflating civil and criminal justice? Tickets don’t scale with net worth of defendants, but class action penalties often do.


>but class action penalties often do.

Do they? Or only so far as "if you have 1000x the revenue, you probably also have 1000x the customers that you have wronged, each of which are entitled to damages as well"?


Courts do award higher damages, specifically punitive damages, to punish and deter wealthy or large corporate defendants. In civil law, the defendant's net worth is a recognized legal factor because a small penalty on a massive corporation wouldn't incentivize them to change their illegal behavior.


I think this comment is missing a /s, right?



Not sure what that is supposed to indicate? USA was a big place, even then. Most northern states had abolished slavery even before Britain, France, and especially Spain did. Maybe we should have a quick refresher on European values?


I thought this thread was about Alibaba's internal policies. How did we get here?


The article talks about European colonies, so would these have been European values then since America did not yet exist?


That's just the label that changed. Same people, same values.


> The article talks about European colonies, so would these have been European values then since America did not yet exist?

Slavery is an expression of capitalist values.

Frederick Douglass is Karl Marx's ideological predecessor.

You aren't wrong that the European powers were slavers. That being said, the culture of the 13 American colonies is the first appearance of the unique Euro-American culture that dominates the United States.

It's wrongheaded to deny the central importance of slavery to American culture and values.

In the United States, the land of the small business owner, slaves mixed socially and sexually with their captors and with the culture of their captors.

For this reason, the culture of the United States is deeply affected by the institution of slavery in ways that are alien to the European powers.


ssshhhhhh, the Rust Evangelism Squad will hear you.


To be fair that whole boat sailed with the "I'm a mac he is PC" series of adverts.


Ah, I'm not in the US so I avoided those ads.



I tried this on a random Swedish person and she identified all of the names as people that sounded like a genius. Seems legit.


I prefer to use vite - you get handling of imports without needing a separate bundler step, but you get hot reload as well. I find it is a nicer experience, YMMV but it is good to have alternative options:

  FROM node:19.1.0
  WORKDIR /project/vite_project
  RUN npm init -y
  RUN npm install react react-dom
  RUN npm install -g esbuild
  RUN npm install vite
  EXPOSE 8081
  CMD ["npm","run","dev"]
The react install isn't normally there if I start light - but it shows that the path to throwing in a framework is smooth. Typically combined with:

  #!/usr/bin/env bash
  docker build -t vite_play -f Dockerfile.vite emp/
Obviously there is something to a bundler step happening in the background, but it is fast enough (and implicit) so it doesn't get in the way of rapid prototyping.


I agree, while it’s nice to go back to basics, I am more concerned with the end result, and vite works really nicely to achieve this. Any real project is going to use CI at some point so what’s the issue with having a build step in your pipeline?


I guess that I'm not the target audience for this - I like grep as UI on top of lsof, maybe in combination with less, and I've always found it fast and easy to use.

For people that are the target audience of this, I'm curious - what do you like about putting the information into a gui and using a mouse instead of a keyboard?


>what do you like about putting the information into a gui and using a mouse instead of a keyboard?

I don't have to remember anything to use it, I just click self-explaining buttons and the thing works. The search function is also very nice, and navigating an outline view with the arrow keys, quickly collapsing subtrees as needed, is a very useful tool. Also, drag and drop.


For guis in general, I like how the actions available to me are much easier to learn, and therefore use. The information conveyed through the layout often provides context for related actions.

In my experience, CLIs are great for efficiency, if I am doing a task so often that it becomes rote behavior and learning the tool is no longer helpful, or if I want to automate it. I find my real world need for either of these to be relatively slim, but I am not surprised that it is common for others.


What do you like about having to remember and execute a series of precise and arcane text commands instead of seeing everying comfortably and accessibly presented to you in a graphical form?


It's ok to like different things - there is no need to attack a different approach. If you find the visual layout comfortable and accessible then thank you for answering the question.


It’s interesting that you found my question to be an attack. Does that mean your question was an attack too?


Speed.


I'm finding it hard to parse your argument. Are you saying that large organizations would rather have cheap-but-mediocre programmers than good-but-expensive programmers? Why would this be a benefit to them, surely they want good programmers?


Companies are focused on short term profits 98% of the time


Top tech companies could reduce comp by lowering hiring bars and wages. They don't think it's worth the cost.


This is a nice idea, I was jsut wondering how to do that.

Another approach (if it is supported by the adaptor) is to configure WoL so that it does not need a magic packet. Some adaptors can be configured to wake on any "directed packet".

I have a linux server sitting downstairs that I might play around with. It would be nice if the sleep support featured a timer and integration with the system cron daemon. Then it could wake on a directed packet or when there is a scheduled task.


Interesting! I believe all the new Mac products also work like this. While sleeping a Mac will still stay on WiFi if it’s on a power adapter and the sleeping M1/M2 Macs stay on WiFi even while on battery. They also still respond to some mDNS traffic. When I try to access certain services on a sleeping Mac, like SSH, it’ll immediately wake up. Even port scanning with `nmap -p 22 <ip>` will cause a wake up. That sounds like the wake on “directed packet” thing? In practice I think this mostly obviates the need for a Bonjour Sleep Proxy.

Also, fun tip: You can easily check if a Mac on the network is sleeping or not based on its ping response TTL. While awake it uses a TTL of 64 but while sleeping it uses a TTL of 32. You can use this little signal to roughly keep a log of when the Macs on your network are awake vs sleeping. (Not too much of an actual privacy concern I think)


Nice. I'll have to try this. I may have ssh'd into a sleeping mac before and assumed that it had failed to sleep. I did not realise what it was doing.


> It's easy to write things like this when you're at the wrong end of the Dunning-Kruger bathtub

Amusingly, only the most simplistic graphs of the Dunning-Kruger efect would portray it as matching a bathtub curve. In particular the rather slow slope of confidence rising as competence improves is dramatically (and significantly) different from the sharp drop-off of false confidence. Rather than two steep sides, there is a marked asymmetry.

I suspect that you may have misunderstood the author's point though. Even if you swap the arguments as you suggest, you still run into this problem described in the link that the author provides:

  When used on a text mode stream, if the amount of data requested (that is, size \* count)
  is greater than or equal to the internal FILE \* buffer size (by default the size is 4096 bytes,
  configurable by using setvbuf), stream data is copied directly into the user-provided buffer,
  and newline conversion is done in that buffer. Since the converted data may be shorter than the
  stream data copied into the buffer, data past buffer[return_value \* size]
  (where return_value is the return value from fread) may contain unconverted data from the file.
  For this reason, we recommend you null-terminate character data at buffer[return_value \* size]
  if the intent of the buffer is to act as a C-style string.
i.e. his complaint is that if he initialises the buffer to zeros and reads N bytes into it there is the possibility that zeros after the N bytes are overwritten.

This is distinct from the problem of not getting enough information back if you swap the argument order, and as it matches his decription in the text before the link I would assume that the swapped arguments are actually a typo rather than a misunderstanding of the API.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: