skysight-inc/HackerNews huggingface dataset:
Ask HN: Could Generative AI Improve Compilers?
With the growing popularity of generative AI I have thought what real world topics could it address (I know art is important but I mean engineering uses). What would be the outcome if we could train a model to generate compilers for new or existing syntaxes. I have not pursued this idea but thought it might be an interesting conversation to be had.

The main issue I can imagine is there is a relatively small training data set that could be used. Also, we see that tools like ChatGPT struggle with understanding (tackling physics problems etc).

Wondering what peoples thoughts are about this or if its a stupid idea.
There are plenty of US conservatives and their sympathizers here...

But to anyone else: just check out some other articles on the linked site to understand who is writing this. Ask yourself why them, and why you don't see others have the same opinion.
I just briefly checked 'muskateer' on Wikipedia, of all the old pictures listed on the page, I couldn't find one that depicted a non male-presenting one, does that make 'muskateer' gender-charged as in the "three muskateers'
> I mean that there is no definition of "structure" I can think of that is not entirely dictated by facts (knowledge/training data).

This would imply that every scoring function is a fact checker, which would make the term "fact checker" meaningless. So what you did was making a "technically correct" argument by abusing the fact that "fact checker" is ill defined, so you used the widest possible interpretation of the word to make it include the case we are talking about.

Arguments like that are nonsense, you know it doesn't make sense to define fact checking like that since it makes the term meaningless, you just did it ad hoc for this argument, you aren't that dumb, but trying to win arguments by bending your own logic in ways that you know is wrong is just hurting you, it wont convince anyone and it will hurt your ability to learn and see more perspectives.

Edit: But if you define "fact checker" to be "any function", then sure, I agree ChatGPT is a fact checker, it is a function. But then why didn't you just say "I think all functions are fact checkers, ChatGPT is a function, hence it is a fact checker" from the start? Would have saved a lot of time.
Yes, do Facebook and Instagram next
Most people (like myself) that keep in ketosis are doing so for weight loss.

Being fat is a lot more deadly than not eating fruits.
I don't think charging rent for consumer broadband equipment is common in many countries, at least not in Europe.
Ask HN: Thoughts on Object-Oriented Databases?
Yesterday, I built a fully functional OODB prototype called Objective DB with Python. I will soon deploy it as a (post/page) storage solution on a custom/self-hosted CMS for testing.

Does anyone have any experience working with or on OO databases? Do you have any links/resources that address the topic in detail?

Any input would be appreciated. Thanks!
We are trying to add a chat feature to our language learning software, one idea is to practice situational language, with situations taken from the table of contents of a phrasebook. Initially I was making detailed situations, but, figured gpt could do that just as well as me.

This seems to work nicely in the chatGPT web UI, with different situation each time:

"We will engage in a role-playing dialogue. The dialogue will take place in turns, starting with you. Always wait for my response. Use a conversational, informal, colloquial style. Try to use simple English, so that a learner of English can understand.

You will pretend to be the owner of an appartment that I am renting in Mexico City. Pretend to be an unpleasent and unreasonable person. Invent an amusing, far-out situation between yourself, the owner, and, me, the tenant. First explain the situation and then allow me to respond."

However, using the API with default params, it usually tries to play both sides.. there's seems to be a difference, any ideas?

Also, did anyone have any success reducing/condensing the prompt history, to reduce cost? Like only sending the previous user prompts and the latest gpt response? Or, using gpt to summarize previous dialogue?

ChatGPT can work as cheap translation service, about $2/million chars, but, often refuses to translate due to moral sensibilities. :D
The code is already sent to github and hosting provider. We just have to trust that multi billion dollar companies have more to loose by using our code. And most of the codes that people work with is not rocket science, so unless openai directly sells the code to the competitor, the potential losses is likely not big.
Sorry, didn't mean to ring any bells - but hey, you've made #1, so hopefully a little heads' up was helpful!
>Doesn't seem very secure by default to me.

If you don't understand a system it's by definition not secure, keep your hands away or start learning your stuff, or at least don't call it secure (the big word that includes many different meanings)
Rather than using this app, I simply have a shell function called generate that I can call anytime with a string. Mostly I use it for ffmpeg commands or occasionally asking it to explain something. For the ffmpeg commands I am finding it gets them wrong a good number of times and I have to them use a browser and search for the correct usage. It’s never too far off but it’s wrong enough. Although in my case I think I am actually using free credits on da-vinci - for what it’s worth.
SlidesGPT – ChatGPT for slide decks
How can it be the exact same valve, and yet also be cheaper, and yet also perform worse?
> The parametric design with constraints is ideal to build precise parts for printing.

Indeed, but FreeCAD needs to do better on this. Changing any single root value recomputes the whole dependency graph, which quickly bogs down in even moderately complex models. They badly need a signal/FRP abstraction to handle these dataflow constraints so only the expressions downstream of that value change.
What's /g/?
"Progress is ruthless and doesn't care whether you've spent your whole life on mastering some skill"

Progress isn't ruthless. People are ruthless. People make these decisions, weighing the profits against the ethical concerns and potential impact on society. It's not some platonic form pulling the trigger.

I could argue that cloning myself and forcing myselves into indentured servitude to build my space kingdom on Mars is "progress" but perhaps that is more technological progress than societal progress and therefore undesirable.

As far as being replaced, we'll all be replaced at some point so what's the end game look like? Is it "progress" for humanity or AI? Are we just manufacturing
our own obsolescence?
Not sure of the quality but I am seeing Chinese-made mmWave presence sensors for sale for 30-45$/unit.
> It may be illuminating to try to imagine what would have happened if, right from the start our native tongue would have been the only vehicle for the input into and the output from our information processing equipment. My considered guess is that history would, in a sense, have repeated itself, and that computer science would consist mainly of the indeed black art how to bootstrap from there to a sufficiently well-defined formal system.

https://www.cs.utexas.edu/users/EWD/transcriptions/EWD06xx/E...

The entire field of prompt engineering is doomed from the start. You can't win if the win condition is wasting your time.
https://artboard.studio/ is another excellent animation option that's got a somewhat simpler UI.
In other words, a smarter-than-Smart Home, no?
You're aware you can ask questions instead of just pointing and laughing at the ridiculous nerds, right? Is there something you're confused about regarding floppy drives?
This shouldn't make sense. It's like buying a car, and then you cannot refill unbranded gas at 1.5€/L, but at 5€/L at the official dealership. Same gas, car works exactly the same, but the car refuses to start it you put unbranded gas. No wonder the money is in the gas, tagging it at 500% the price it would get in a competitive market.

The mistery is why the printers market get away with it.
It's more about the unintended consequences, the implied/contextual information and getting it to do what we want in a way actually fulfills our goals instead of merely satisfying a condition.

A task such as "bring me a cup of tea" has lots of implied information such as not making it too hot to burn the person, not breaking anything in the process, not harming other people in the process and so on.
Show HN: Reference Documentation for JSON Schema
The "status quo" is racial discrimination, which the person who said that is presumably subject to. The idea is that the word lists make people feel like they're helping, when those people aren't actually doing anything to fix actual problems and actually keep the system going.
It's portable until it pages out on an incident report. Then, we know it wasn't portable.
Violent language?! How do they suggest you write about actual wars?

[edit] I won't even dignify the stupidity of conflating the Spanish language with a race - then its use with racism - with a response, except to say that such a view could only arise among the privileged children of racists in a very small part of the United States.
Thanks! Musically that's really viable and fun setup

A really helpful data point :)

--

You're doing great! You don't need my help, but just share my own path, because it's fun :)

Yeah, play the bass, if i start talking about computing im not helping...

Err, why am i still here?

I switched to BSD or the OSS driver and went from massive effort ~5ms to zero effort ~2ms

Then I made a two button controller and pedal->usb, and started programming an arbitrary effects controller: a looper + buttons to switch the pedal to control any fx parameter

Fun, but it didn't help me make better music :)
It's probably not a problem during normal operation, but I'd be worried about what happens if the network misbehaves.
> Several times I'll find I've spent hours building something and then it breaks and I have to start again, because of the relationship between features/parts and it just becomes impossible to resolve

There is a fix in the works for this notorious topological naming problem:

https://ondsel.com/blog/freecad-topological-naming/
I think I'm at the edge of my ability with AI as I'm noticing I'm trying to argue against the usefulness of the concepts rather than the concepts themselves. At the very least I'm not smart enough to casually read these sites (lesswrong, AI alignment) at this time.

I remember feeling like this (brain CPUs pegged at 100%) trying to slog through HPMOR the first time too in fairness, it's just too many concepts to take in in one sitting. I'll get there eventually if I keep at it but not on my first read.

I'll consider my opinions on AI safety void due to lack of knowledge for now, always try to jump over the first stage of competence. I'll start with the Wikipedia page for AI alignment, haha.

Thank you for your responses in any case, I'll dig into this further!
does Bowtie aim to provide the same functionality as Tailscale ?
Cargo Cult Social Activism
Strongly agree. I just don’t get the hate for JSX.

JSX is objectively better than than the scores of custom DSL templating systems out there. If anything, I think JSX is not used and supported enough.

In the most general sense, JSX is just syntactic sugar for function composition. That it works well for html components is a side effect; it could certainly be used for more than that.

I
>>So should a AAA title that costs millions to produced be forced to license their game for the same amount as my tic tac toe game?

Math and government solved that years ago with a little thing called the percentage... We have applied that in various ways to extract fees (aka taxes) from people for various things in a progressive way.

This is not a new or novel problem.

Copyright by design is suppose to be commercially protective of work, and if you want the government to protect your commercial works I think a user fee for that service is both ethical and correct. It would be far more ethical to charge a % to protect copyright than it is to seize a % of a person labor and most people have no issues with doing that
When I cut up an apple or wash some strawberries for my son, I eat a slice or two or maybe a strawberry. Blueberries work well, etc. It's just a choice to balance your diet a different way (I am not nearly as strict as OP). There's a lot of fibre in fruit, you can make it work, but most people don't realize how much sugar is in fruit and it isn't good for you if you are managing type-2 diabetes, or whatever.
> Also -- supposing that this business model was completely viable from a security perspective -- the next step to building such a system might be to build an auction site for CPU cycles (or compute ability/compute time) -- sort of like an "EBay for highly distributed but sandboxed code execution" (clients bid on renting compute resources, end users bid on selling theirs) which would be an interesting business model, IMHO...

In Commonwealth saga from Peter F. Hamilton, people have access to nearby computing nodes like we have currently to free wifi, for accelerating any tasks they would need (like personal assistants, called e-butlers). That's not 100% secure and is sometimes used for nefarious purposes (and plot devices), but it's just accepted as a nuisance like other things that can be weaponised in our own reality (like cars).
I guess I have a different definition of universal than you.
Some people actually enjoy developing and scanning/printing everything themselves.

But it's true that colour photography is essentially dead for non billionaires. I stocked up with more than 100 rolls a few years ago. When I run out, I'll just continue with black and white.

Bulk rolls of Fomapan 100 are still very cheap. For 4x5, a single 50 sheet pack lasts me more than a year.

For 8x10, shooting X-Ray film is cheaper than Fomapan in 4x5 (but the film is very easy to scratch).
"secure by default" by OBSD basically just means everything disabled by default.

Can't hack anything if nothing is running, right? Only issue is it's not that useable either.
Dall-E, could you add a hat wobble to that?

.... And a Flarhgunnstow?
At least one printer that demands original ink has an option hidden in the setup menu to turn that off, which isn’t very well documented. I suspect a mole in the company (or the detection itself is bugged and tech support needs an override).
Literally, what happened to 3D printers: a zombie/niche sector until the FDM patents expired in 2009.
I get your point but an unparalleled spyware tool being deployed by an adversarial, authoritarian nation on our largely unsuspecting populous is something the government should intervene over. Perhaps we would never see this support were it not for lobbying efforts by the likes of Meta, or a looming cold war with China, but that doesn't mean the move itself is a short-sighted proposal.

People should have the freedom to run whatever software they choose. That does not mean the government should allow a country like China to operate within the US. And of course spying done by Meta is a whole different conversation.
https://4chan.org/g/

(enter at your own risk? I think it's kinda safe but still 4chan)
Hyper AR | HYBRID/ REMOTE | UK VISA REQUIRED

Project Manager for Location Mapping Team
Android Developer

https://careers.hyperar.com/jobs

Apply through the website
By n-word do you mean "no-can-do" or "normal person"? Both on the Stanford Elimination of Harmful Language list
I'm not sure it should just be 3! ISPs should be held responsible (and able to) selectively block DDoS traffic originating from their customers. Especially with the proliferation of symmetric gigabit+ connections...
> "Who cares, these are printers, not chemical weapons"

Could you imagine if the defense industry adopted this? Manufacturer loses follow-on contract, soon the entire inventory "Sorry, this missile will only interface with genuine <contract loser> parts"
Not only that, but we've managed to subvert our reward functions in exactly the way AI safety people fear. Evolution tried to get us to reproduce as much as possible, and we came up with ways to get the reward without producing offspring.
Make Redirection Evil Again: URL Parser Issues in OAuth (2013) [pdf]
That is exactly the point, by posting that I got you to admit you see it that way, ensuring that we know what we disagree about. That is the point of the argument, to figure out the parts that makes us disagree, so now we are done here, you think that everything is a truth model, I disagree, and everyone reading this can see our points clearly and no longer have to wonder what to think.

So now we know that when you say "ChatGPT has a truth model", what you really mean is "ChatGPT is a function". Thanks, now I can agree with you, ChatGPT is a function, thanks for clarifying!
Absolutely, but "all sorts of politics" is not "any sort of politics". Also, I'm pretty sure none of the teams who made these word lists are struggling to make ends meet. For example, what does the guy who's out there in the middle of a cold night making soup for homeless people think about these lists?
> running SHA-256 18 quintillion times

or games. People could have been studying or doing something more important than wasting time and energy.
I get that it is entertainment, but so are board games and that don't require mining rare earth minerals or putting pressure on the grid as you can always play board games with candles on.
> Everybody wants to think of themselves as a good guy

That's assuming a lot right here. I know way too many people who flourish in being bad (and will you tell so explicitly)
> I use them for blogs or static websites, but applications are easier to make and maintain with actual javascript.

I dislike when JSX is framed as "just Javascript". It's really not - it's a templating language, just a very odd one - like its spiritual predecessor.

Personally I find JSX to be write-only and hard to reason about when looking at someone else's code.
I agree. Once you have an SLR with a real pentaprism (not 5 mirrors), it's hard to go leave.
1. Lowering entry threshold for new applications

2. Democratization of Programming

3. Optimizing cost and speed of development

4. Enabling hyperautomation

5. Boosting new Software as a Service applications
Practice the art of scanning lines of ancient poetry
For the 20s wait - try moving the printer 20s away from everyone. I put one in the far corner of the living room and by the time you walk to it it’s already done printing.
Its Canva, but instead of stock art its AI generated stuff
Also let's not forget of the "Third Law of Politics":

> The simplest way to explain the behavior of any bureaucratic organization is to assume that it is controlled by a cabal of its enemies.

Which in this example if even more true, as many of the HR/administration staff are openly revolutionaries and activists.
I think what you're criticizing isn't react necessarily, but SPAs. React can be used on the server in the same way as whatever SSR solution you're using.
> What is the advantage of lacing

It's a "pros/cons" thing to me. The big disadvantage is that it's far more time-consuming.

The advantages are mostly aesthetic. For example, I have a 7.2.2 home theater setup with an AVR ... basically 14 cables going to the back of a device that is located in a place in my family room which makes it hard to obscure the cables.

I purchased white speaker cables to match my white wax lace, laced the speaker cables each at ~1.5". The lace is coated in wax, so it will coerce the cables into the right position by wrapping it around an extra 2-3 times when needed. It's more invisible than zip ties -- there's no "nub". If you're lacing the way I was taught, there's no knot. Each cable in the bundle is individually tied, as well as the bundle which means "it stays where you tied it" far better than zip ties do. This also means you have to do almost all lacing "in place" because you can't fix mistakes after the fact.

The result looks like one larger cable, made from 9 others in a horizontal row behind my receiver which makes a sharp turn directly into a port in the wall. I can remove my receiver and the 9 cables remain roughly in the same position because the lace holds.

I used black lace to cover the black power cables (separated from the speaker/signal wires).
Such an organization is "Women Who Code"[0], you might want to look it up.

And it has a Buenos Aires Chapter[1].

--

[0]: https://www.womenwhocode.com/

[1]: https://www.womenwhocode.com/buenosaires
No, it's very clearly the fault of the US patent system. If you design a capitalist hellhole then of course people will try to get rich off of it.
Most organizations have some document describing acceptable coding standards that cover things like whitespace/indentation, brackets, idioms and naming conventions.

It is so bizarre how many people draw the line at master/slave - it's just another convention, why on earth are they desperate to write these two specific words above all else? Why is "don't use verbs in your REST routes" ok but "don't use master/slave" a cause to get on your soapbox and cry about human rights being impeded?
> Some people won't touch freecad because of the dated UI.

Not just that.

The UI is horrendous.

There is, as you note, no logic to the "workbenches".

The geometry engine (the "kernel", if you like CAD tongue) is ancient and weak.

The parametric modeling system is not something I've ever managed to make work.

The scripting language is - even though they use one of the best languages ever - hard and convoluted to use to build 3D models.

Polygonal mesh modeling is close to non existent.

NURBS modeling is weak. Getting complex fillet + hole working is a complete crapshoot.

I could go on for a long time.

I do understand it's free software and that there are very few alternative out there, but when you're used to open source stuff like Blender, OpenSCAD, Wings3D and Gimp, FreeCad is simply laughable.

It pains me to say this: folks have been pouring their heart and soul into building FreeCad, but the result is just crap.
Yeah, I think it's absolutely fine to have a harmful word list. I don't think you're really engaging with the issue of why this type of list exists either. There is a genuine balance to be made between the chilling effect of this list vs the chilling effect of a work/university environment where routine use of racist/sexist/other"ist" language creates an unwelcome environment for minorities.

I think a core disagreement here is people on the right say "These academic institutions are being politicized" but that's not true, the institutions were always political, it's just that previously they were political in a way that favoured rich straight white men and now an effort is being made to counteract that.
I can’t feel right with printed code listings unless a wide format dot matrix printed them on the green and white bar paper :)
So it should be based on what math? The cost of production? Ever heard of “Hollywood accounting”?

Mandatory licenses is how streaming music works where you don’t choose your own playlist (Pandora) and public performances like when music is played in public over speakers like at gyms. Music writers and composers (but not voice) falls under mandatory licenses for radio and streaming music

> you want the government to protect your commercial works I think a user fee for that service is both ethical and correct

Copyright also protects open source licenses. Should they also be charged the same fee?
The download size is large but conda doesn't ruin any existing configuration unless you explicitly tell it to be your native python environment. Conda is set up as a self-contained set of independent environments. Why would your system care what's inside the Anaconda directory unless you explicitly add it to your PATH/bash?